I am trying to use an LK162-12 on Linux. To test things out, I am trying to clear the display by using Perl:
perl -e 'open LCD,">/dev/ttyS1"||die "Fail\n";print LCD pack("CC",254,88);close LCD'
However, the display is not being cleared. Instead, it displays funny characters.
Youssef Eldakar
Bibliotheca Alexandrina
LK162-12 on Linux
-
- LCD?
- Posts: 2
- Joined: Tue Apr 18, 2006 4:43 am
Re: LK162-12 on Linux
Never mind. It was the baud rate:
stty -F /dev/ttyS1 19200
Youssef Eldakar
Bibliotheca Alexandrina
stty -F /dev/ttyS1 19200
Youssef Eldakar
Bibliotheca Alexandrina