PDA

View Full Version : sending a word from visual basic to basic stamp with a lcd



Robban
02-03-2007, 10:59 PM
Hi
trying to send a word from visual basic (like "Hello!") and want that to be displayed on my seriell 16*2 lcd display.
cant figure it out so if anyone have an example or could tell me how i would be very happy.

regards
Robban

D. Abram
02-03-2007, 11:16 PM
What version of VB are you using?

Kevin Wood
02-03-2007, 11:18 PM
There's an article (#89) that you can download that should help:

www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V3.asp (http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_V3.asp)

Robban
02-03-2007, 11:25 PM
using 6.0

Unsoundcode
02-04-2007, 02:06 AM
Hi Robban, in VB express you might do it this way depending on the display

Serialport1.Write(22 & "Hello")иии 'Turn the display on cursor off no blink and send string
Serialport1.Write(148 & "World")и 'Move cursor line 1 position 0 and send string

in VB 6.0 you would probably substitute Serialport1 with Mscomm1

Jeff T.

EDIT: if the data is going via a Stamp especially P16 then we need a rethink.

Post Edited (Unsoundcode) : 2/3/2007 6:12:08 PM GMT

D. Abram
02-04-2007, 04:29 AM
This page may give you the details needed to send data to the stamp:

http://www.rentron.com/sending_data.htm