Re: Raspberry Pi 40x4 LCD hd44780-rpi

Kevin Walton <[email protected]> Fri, 15 Feb 2013 20:27:35 +0000 (UTC)
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--------------020209020707020407060708
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <[email protected]>

On Tue, 12 Feb 2013, Markus Dolze wrote:

> On 11.02.2013 11:13, Markus Dolze wrote:
>> On 10.02.2013 14:33, Kevin Walton wrote:
>>> Hi
>>>
>>> I am looking to connect up a 40x4 HD7780 LCD to a Raspberry Pi.
>>>
>>> After some searching and a look at the current nightly build I can
>>> only find support for single LCD modules in lcdproc on the Raspberry Pi.
>>>
>>> Has anyone played with enabling support for a 40x4 module (but not
>>> checked it in yet)?
>>>
>>> Which GPIO pin would be suggested for the second En?
>>>
>>> If no one has started extending I could take a look but my coding
>>> skills are only very basic - is it relatively straight forward to do?
>>>
>>> All comments and advice much appreciated.
>>
>> the time I committed the Raspberry Pi driver I knew someone would come
>> up with this ;-)
>>
>> I have a 40x4 change ready, but I would like to spend another hour or
>> two for testing. Stay tuned.
>
> please try the attached patch.

Hi Markus

Make clean'ed, Patch applied cleanly, no errors, configured and built ok. 
Runs ok with no errors, but only top 2 lines display correctly :(

Module is one of these:

http://www.ebay.co.uk/itm/170747019967?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

Looks like this:

http://imgur.com/avmQ981

LCDd.conf includes:

[server]
DriverPath=/usr/local/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportLevel=3
ReportToSyslog=yes
User=nobody
WaitTime=5
ToggleRotateKey=Enter
PrevScreenKey=Left
NextScreenKey=Right

[hd44780]
ConnectionType=raspberrypi
Keypad=no
Backlight=no
OutputPort=no
Size=40x4
CharMap=hd44780_default
DelayBus=true
KeyMatrix_4_1=Enter
KeyMatrix_4_2=Up
KeyMatrix_4_3=Down
KeyMatrix_4_4=Escape

Any ideas?

Thanks very much
Kev

-- 
Kevin Walton
Mobile: 07867 825 847
--------------020209020707020407060708
Content-Type: APPLICATION/X-TAR; NAME=rpi-40x4.diff.gz
Content-Transfer-Encoding: BASE64
Content-ID: <[email protected]>
Content-Description: 
Content-Disposition: ATTACHMENT; FILENAME=rpi-40x4.diff.gz

H4sICFp8GVEAA3JwaS00MHg0LmRpZmYA7Vhtc9pGEP4Mv2KbTDMiSICEeDGuHQ/GTukQh7Gd
6YdORyOkA91YSMqdhONJ8t+7e0IYA8Zxk077oZ4xJ/b29uXZt0NvwI89WR+dDvxat/wm/xZ6
fiJiz/DiaMpntdYGvWauERb5V+kJnqSyziOeGkra6Kq/SUd29ol5+7Z8NuFutGNXKd59cLFn
YylvGKH4HkgmFkzUfcFxkfXAt+1Ot2GIhNe88tH3/5UvT69gykPWg7q3kCKO0wK01brPBn1R
FiwVnC14NAOBi+RxBCZC7PPpFIwMDIHf4KHlhmHsda1kdeA3NwKrYTbBNHu23bObYDTwr0Sy
q9Xq/vOmCedskp+3mj2z1bMP8vPlkxMwTFvHjSotFpyclAFew9g0LBu0bqUEcHYBWruiyG8v
BiWkXNZ/B61VWXG2QesQ5+UVaHalXM3JZgs0y8olWKBJhgnpA36kIg5DJnSIkxQBcsOVJLRU
M5Wo/gi0ievdhHwWpA8ZFfM7N0kQZQkeIjNhCEAKPII0YJDnvQokZJJCQdQbdmfcxsKXvbKB
5/Gwc3ahq/XyKl8HneXaXq6t5Wrna3+kXFs/ip49WwaZvzT1j18HKlB/ov0euVgj45SB76Pw
Dlwg+9EPrEng6GwmBItS3JFZksQiZX6N5NXLUIb6a0PFs9lV8Wx2dNNexnO5DwM2dbMwhbfj
4XsyB1wp+Syao0xiMl76bMojBpfjoTM4O0dvwOzuILcxj3aQW2DZO8g2WK1tMiZLZ5uKybZD
IWaD2SlXd5hH9m3T20AGbtNbQBZu020gE7foaCLADr1oJMAOvZTnlrVNR/PJfozBSx55Ye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kB4BY1PjW5ln8r2Gqe9l7O1xmnt5bTXOM3K
j0ky88cl2f+F9W8XFo36p19EBP+BFxHB33oRETz1IiL4zhcRwZMvIky6neFnp3gNIdOYbhoB
E4zmHN1zVUub57/+IQnuJPfwIlr8oJV0DeyfvrO6zRZQoNXVBOWIzEuhiL6ayjSM8UoKLFJZ
pp6swyVRyOLJ76ye2oflvwC44kLJcRMAAA==
--------------020209020707020407060708
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <[email protected]>
Content-Description: 
Content-Disposition: INLINE

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc

--------------020209020707020407060708
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc

--------------020209020707020407060708--