Shop OBEX P1 Docs P2 Docs Learn Events
BS2 Serial Communication — Parallax Forums

BS2 Serial Communication

tanuagg13tanuagg13 Posts: 5
edited 2014-08-05 06:48 in BASIC Stamp
Can BS2 SERIN and SEROUT commands work through the USB to BOE connection?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2014-08-05 06:48
    Yes, although there are some restrictions. Look at the descriptions of the DEBUGIN and DEBUG statements and look for the discussion of serial port #16 in the documentation on SERIN and SEROUT in the Stamp Manual. If you use pin #16 in a SERIN or SEROUT statement, the programming port (USB port) is used for the serial I/O. Anything sent from the PC is echoed back to the PC. DEBUGIN and DEBUG are actually SERIN and SEROUT statements using port #16 at a fixed Baud (9600 or 19200 depending on the Stamp model).
Sign In or Register to comment.