Shop OBEX P1 Docs P2 Docs Learn Events
Serila Comunication Basic stamp — Parallax Forums

Serila Comunication Basic stamp

mota_puma999mota_puma999 Posts: 3
edited 2010-03-18 02:46 in BASIC Stamp
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

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2010-03-18 02:46
    Read the description of the SERIN and SEROUT statements here: 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,[noparse][[/noparse]"Hola Basic",CR]

    To wait for a carriage return to be sent from the PC do: SERIN 16,84,[noparse][[/noparse]wait(CR)]
Sign In or Register to comment.