Shop OBEX P1 Docs P2 Docs Learn Events
Controlling a serial BOE via PC — Parallax Forums

Controlling a serial BOE via PC

UghaUgha Posts: 543
edited 2008-06-25 02:57 in BASIC Stamp
I know this is most likely answered a hundred times over in various
other posts on this forum as well as in some of the Stamps in Class
books, but I can't find·it so... I'm bugging you good people.


I want to write a program in C that will send simple serial strings to
my stamp via the programming cable/port.

I basically want to do the exact same thing that debugin uses cept
from my own C program.

Anyone got any info on how hard this is and maybe a link on how
to do it?

PS: Getting info out of the stamp via this serial connection is a
bonus, but not absolutely required.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-06-25 02:57
    It's just a serial connection. For most Stamps, it's 9600 Baud. For some (like the BS2px) it's 19,200 Baud, always at 8 bits, 1 stop bit, no parity. Remember that the debug connection echos back to the PC anything that's received and toggling the DTR line resets the Stamp.
Sign In or Register to comment.