Page 1 of 1

Visual Basic commands for lk202-25

Posted: Sat Apr 26, 2003 10:28 am
by christiaanm
i am seraching for visual basic codes for the lk202-25 LCD

eg. clear screen

private sub Command1_Click
Mscomm1.Output = chr(254) & Chr(88)
end sub

now i am searching for going to the next line, they give LF but i can get this running, can somebosy give me an idea or tip, tnx :D

Posted: Mon Apr 28, 2003 4:59 pm
by Miles
Hello...

To clear the screen you need to send 254 and then 88. Ignore LF as it is a terminal command and try sending 254 and then 72 to send the cursor home. If you clear the display and want to start at the second line you must send 254 then 71 and then [column] [row].