LK162-12 on Linux

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
meshcurrent
LCD?
Posts: 2
Joined: Tue Apr 18, 2006 4:43 am

LK162-12 on Linux

Post 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
meshcurrent
LCD?
Posts: 2
Joined: Tue Apr 18, 2006 4:43 am

Re: LK162-12 on Linux

Post by meshcurrent »

Never mind. It was the baud rate:

stty -F /dev/ttyS1 19200

Youssef Eldakar
Bibliotheca Alexandrina
Post Reply