Page 2 of 2
Posted: Sun Dec 02, 2001 4:14 am
by xull1x
=) so far i've coded the core.. =) coded overflow protection etc. what manual are you looking at? can you paste a url? =) thanks man.
Posted: Sun Dec 02, 2001 5:44 am
by relix
On 2001-12-02 02:38, xull1x wrote:
a bomb

jk.. just a really good interface.. that works @ 19200 bps.. and does a lot of stuff.. like oscilliscope etc.
it's like the programs out there, but will be better. honestly.. those programmers don't know how to give an lcd the looks
I know how

Posted: Sun Dec 02, 2001 12:05 pm
by Henry
Set Cursor Position **NOT WORKING**
Posted: Mon Jul 14, 2003 8:35 am
by Shawn Tartaglia
I am having a problem with any command I sent to the LK204-25 that has more than just the CMD_PREFIX CMD format. For example the Set Cursor Position command.
In VB, if I send at 19200 to COM1...
MyComm.Output Chr(254)
MyComm.Output Chr(71)
MyComm.Output Hex(dspColumn)
MyComm.Output Hex(dspLine)
Regardless of the dspColumn and dspLine values, the cursor always positions itself at 1:1
I have tried to send the dspColumn/dspLine as Chr() with the same result. The dspColumn/dspLine values are passed to the function as integers.
Thank you.
Posted: Mon Jul 14, 2003 9:00 am
by dtorner
Use This :
MyComm.Output Chr$(dspColumn)
MyComm.Output Chr$(dspLine)
You can use Byte instead of integer,all values are less than 256
Set Cursor Position **NOT WORKING**
Posted: Mon Jul 14, 2003 9:04 am
by Shawn Tartaglia
For some reason the addtion of the $ on Chr worked. In debug it seems to produce the same character but I guess in the black box of VB the $ makes a difference. Thank you very much.
Just to be clear....
Use Chr$() instead of Chr() when sending commands via VB.
Sending Commands
Posted: Mon Jul 14, 2003 9:14 am
by Shawn Tartaglia
When sending commands to the MO (LK204-25) should I send them one at a time or can I send them as one command? e.g.
In VB,
MyComm.Output Chr$(254)
MyComm.Output Chr$(71)
MyComm.Output Chr$(dspColumn)
MyComm.Output Chr$(dspLine)
-or-
MyComm.Output Chr$(254) & Chr$(71) & Chr$(dspColumn) & Chr$(dspLine)
Posted: Mon Jul 14, 2003 3:00 pm
by Miles
Hello...
You should be able to send it as one command...