Posted: Wed Jun 19, 2002 7:14 pm
I'm having some trouble using the BLK 202A-WB with my embedded design over i2c. The LCD display itself seems to work great, but the keypad isn't working as expected. I've tried many different things now and have had limited success. The documention is very poor on the i2c interface interaction.
Here's what I'm seeing:
1) When polled for keypresses by doing an I2C read, the characters are not what the documentation says. This is what I get (in decimal)
Up arrow: 36
Left: 39
Right: 34
Down: 37
Enter: 36
F2: 38
F1: 39
Please note that the Enter, F2 and F1 keys are the same as some of the arrow keys.
2) When trying to use KeyDown/KeyUp repeat mode, there is no change. I still get the previous results, with no extra notification when a key is released.
3) Multiple key presses are ignored. Contrary to what the documentation says, I never see the returned value with the high bit set when I press multiple keys within the polling period.
Anybody have any ideas?
Here's what I'm seeing:
1) When polled for keypresses by doing an I2C read, the characters are not what the documentation says. This is what I get (in decimal)
Up arrow: 36
Left: 39
Right: 34
Down: 37
Enter: 36
F2: 38
F1: 39
Please note that the Enter, F2 and F1 keys are the same as some of the arrow keys.
2) When trying to use KeyDown/KeyUp repeat mode, there is no change. I still get the previous results, with no extra notification when a key is released.
3) Multiple key presses are ignored. Contrary to what the documentation says, I never see the returned value with the high bit set when I press multiple keys within the polling period.
Anybody have any ideas?