YES!!!!!! :rock: Problem solved!! This was my fault. After enabling raw input in my serial init function
options.c_lflag &= ~(ICANON | ECHO | ECHOE | ISIG);
The key presses are now printed out to my computers display instead of on the lcd display. :D
Now I can finally get some sleep. :hip:
Search found 4 matches
- Sat Aug 09, 2003 9:52 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Keypad input problem. Worked before but not now....
- Replies: 4
- Views: 3447
- Sat Aug 09, 2003 9:25 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Keypad input problem. Worked before but not now....
- Replies: 4
- Views: 3447
- Sat Aug 09, 2003 3:01 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Keypad input problem. Worked before but not now....
- Replies: 4
- Views: 3447
Here is the code I am working with now. It is almost the same as what I was using before - a line or two. It is a hacked version of ex1.c on the matrix orbital cd that came with my display. Keep in mind this approach did work for me earlier. It just stoped working for some reason.
#include <stdlib ...
#include <stdlib ...
- Fri Aug 08, 2003 9:57 pm
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: Keypad input problem. Worked before but not now....
- Replies: 4
- Views: 3447
Keypad input problem. Worked before but not now....
Hello. I just got my LK 204-25 serial display in the mail today :D . I sat down and wrote a few functions to clear the screen, turn off the cursor, turn on the cursor, etc. No problems. I then wrote a fuction to read input from my 4x4 keypad and print out the result on my computer screen. Again no ...