Page 1 of 1

LK202-25-USB Set Cursor Coding

Posted: Mon Aug 11, 2008 5:52 am
by samon_18
I've got the LK202-25-USB recently and am trying to set the curor position through visual basic (6 not .net) but i can't seem to get it right.
The code i'm using is

mscomm1.output = chr(254) & chr(71) & "1,5"

then i send the text as normal, but the text is displayed on the second line with the first couple of characters missing, i'm connecting to the display ok and can send text normally from the start of the display, just not if i ask to set position.

This is probably something very simple.
Jamie

Posted: Mon Aug 11, 2008 7:19 am
by Ray
give

mscomm1.output = chr(254) & chr(71) & chr(1) & char(5)

a whirl

Posted: Tue Aug 12, 2008 12:55 am
by samon_18
It didn't work, same as before happened :(
anymore ideas?