Shop OBEX P1 Docs P2 Docs Learn Events
SEROUT syntax question — Parallax Forums

SEROUT syntax question

basicstampedebasicstampede Posts: 214
edited 2008-09-26 16:59 in General Discussion
In BS2, I can write:· SEROUT TX, Baud, [noparse][[/noparse]"The Basic·Stamp "]

How do you·do it in SX/B?

Thanks.·

Comments

  • JonnyMacJonnyMac Posts: 9,393
    edited 2008-09-26 16:59
    As have been explained many times, you can't. You need a custom subroutine to send strings. The attached demo shows you how to do this. Note that this program is using interrupt driven serial but you don't have to, simply re-code TX_BYTE and RX_BYTE to be shells for SEROUT and SERIN.
Sign In or Register to comment.