Changing Startup Screen in Perl (Linux)

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

Moderators: Henry, Mods

Post Reply
Robert
LCD?
Posts: 3
Joined: Sat Jan 14, 2006 6:31 pm
Contact:

Changing Startup Screen in Perl (Linux)

Post by Robert »

Hi!

I'd like to change the startup screen on a LK202-25WB (installed on a linux system). I' using the following perl code.

open(LCD, ">/dev/lcd") or die "Can't open (write) to /dev/lcd: $!\n";
print LCD chr(254), chr(64), " WELCOME! BOOTING SYSTEM ";
close(LCD);

Unfortunately this code is not working :(

Other thinks work fine. I can clear the display, turn backlight on or off, ...

Do i need to use the remember function to set the startup screen?

Maybe somebody can help me.

Thanks!

Regards,
Robert

Paradigm
Matrix Orbital
Matrix Orbital
Posts: 255
Joined: Thu Sep 13, 2001 6:00 pm
Location: Calgary, Alberta, Canada

Post by Paradigm »

The set startup screen expects a FULL screen. A partial screen won't do. So you are going to need to send 40 characters after the initial 254/64 command. Give that a shot and let us know if that works.
James McTavish, P.Eng
Director of Engineering
Matrix Orbital

AJB2K3
LCD!
Posts: 15
Joined: Sun Jan 15, 2006 2:27 am
Location: Around Here.
Contact:

Post by AJB2K3 »

Ill confess here.
I changed mine in xp
i dont have perl installed so im suck.

Post Reply