Search found 4 matches

by Nosleep
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

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:
by Nosleep
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

I rewrote my program. I have a fuction that opens up the serial port, sets the baud to 19200, and sets 8N1. If I do a cat /proc/tty/driver/serial
it reports my settings on /dev/ttyS0 which are:

0: uart:16550A port:3F8 irq:4 baud:19200 tx:638 rx:249 RTS|DTR

I know the serial port is recieving key ...
by Nosleep
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 ...
by Nosleep
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 ...