Page 1 of 1

LK162-12 on Linux

Posted: Tue Apr 18, 2006 4:53 am
by meshcurrent
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

Re: LK162-12 on Linux

Posted: Tue Apr 18, 2006 8:43 am
by meshcurrent
Never mind. It was the baud rate:

stty -F /dev/ttyS1 19200

Youssef Eldakar
Bibliotheca Alexandrina