PDA

View Full Version : Serila Comunication Basic stamp



mota_puma999
03-18-2010, 09:43 AM
I need to do an aplicasion y visual basic to comunicate with a basic stamp....

I did it... but it does not work very welll...

i need to know how is the serial comunication of the basic stamp....

i know the table were 84= is equals to 9600bps 8 bits no parity and

but i need more help...

in visual basic· i open the serial port, i send data using
serialport1.writeline("HOLA BASIC")
and
serialport1.readline()


i need help

Mike Green
03-18-2010, 10:46 AM
Read the description of the SERIN and SEROUT statements here: www.parallax.com/tabid/535/Default.aspx (http://www.parallax.com/tabid/535/Default.aspx).
This is available in Spanish. Also read "What's a Microcontroller?" for other examples and discussion.

To write to the PC connected to the Stamp, you can do: SEROUT 16,84,["Hola Basic",CR]

To wait for a carriage return to be sent from the PC do: SERIN 16,84,[wait(CR)]