I hope somebody can give me a hand. I'm running RedHat 7.2 and I am trying to program some serial port communication with the matrix display. Using the simple C program provided elsewhere on this site, the "open" is sucessfull but the first call "tcgetattr" failes with "Input/Output" error.
I'm thinking that maybe I am pointing to the wrong device file for my instalation of Linux. I tried ttys0, ttys1, ttys2, and ttys3.
Anybody have any RedHat com programming expierence here to give me a hand?
I am also curious if I need to use a Null Modem cable?
Thanks.
Failure trying to communicate via C program to display
-
- LCD?
- Posts: 5
- Joined: Mon Aug 12, 2002 6:00 pm
- Contact:
-
- LCD?
- Posts: 5
- Joined: Mon Aug 12, 2002 6:00 pm
- Contact:
-
- LCD?
- Posts: 5
- Joined: Mon Aug 12, 2002 6:00 pm
- Contact:
Arg! .. I moved to win2k to try out my lk204-25 and I cannot get characters to display. I opened up hyperterminal and set it to com2 it connects but typing does not display chars to the lcd.
I set baud to 19200 and turned off flow control. I am powering my lcd with the power supply from the computer adapted to input only 5v into the power connector on the back of the lcd.
I downloaded the AlphaDemo but I believe I miss configured it and when it fails to connect it causes an assertion violation and crashes. Therefore I cannot set it up properly. I uninstalled/re-installed it but it must keep it's settings in the registry somewhere.
Any help would be appreciated.
I set baud to 19200 and turned off flow control. I am powering my lcd with the power supply from the computer adapted to input only 5v into the power connector on the back of the lcd.
I downloaded the AlphaDemo but I believe I miss configured it and when it fails to connect it causes an assertion violation and crashes. Therefore I cannot set it up properly. I uninstalled/re-installed it but it must keep it's settings in the registry somewhere.
Any help would be appreciated.
-
- LCD?
- Posts: 5
- Joined: Mon Aug 12, 2002 6:00 pm
- Contact:
Well I tried MOGD and I am still unable to communicate to the display. I also tried a different serial cable. I set the settings to COM2 and hit the "display text" button. Nothing happens. I have 5v hooked to the power connnector and I see a nice backlight screen with a flashing block cursor.
With MOGD I am not sure what to set the display size to for my lk204-25 but I tried several display sizes with no results.
Thanks.
With MOGD I am not sure what to set the display size to for my lk204-25 but I tried several display sizes with no results.
Thanks.