[Lcdproc] 4bit-HD44780 and keymatrix...

Thorsten Godau dl9sec at gmx.net
Fri Dec 25 19:35:47 UTC 2009


Hi Markus,

> Can you try what happens if you connect Y7 to 'D0' and Y8 to 'D1' on the
> parallel port?

I rewired the Y-lines: Y7 to Y1 (D0) and Y8 to Y2 (D1) and changed the
key definitions as followed:

KeyMatrix_2_1=Menu
KeyMatrix_3_2=Enter
KeyMatrix_1_2=Up
KeyMatrix_3_1=Down
KeyMatrix_4_2=Left
KeyMatrix_4_1=Right
KeyMatrix_1_1=User

The log output:

:
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 0 0: "User"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 0 1: "Up"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 1 0: "Menu"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 2 0: "Down"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 2 1: "Enter"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 3 0: "Right"
Dec 25 20:27:43 LinuxPLC LCDd: HD44780: Matrix key 3 1: "Left"
Dec 25 20:27:43 LinuxPLC LCDd: hd44780: Using ea_ks0073 charmap
Dec 25 20:27:47 LinuxPLC LCDd: Key "Menu" is now reserved in exclusive mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: Key "Enter" is now reserved in shared mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: Key "Up" is now reserved in shared mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: Key "Down" is now reserved in shared mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: Key "Left" is now reserved in shared mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: Key "Right" is now reserved in shared mode by client [-1]
Dec 25 20:27:47 LinuxPLC LCDd: screenlist_switch: switched to screen [_server_screen]

When i press a key, NOTHING happens, no message in the log...

Regards, Thorsten


More information about the LCDproc mailing list