Shop OBEX P1 Docs P2 Docs Learn Events
BS2px communicates with BS2pe — Parallax Forums

BS2px communicates with BS2pe

duhzzzduhzzz Posts: 7
edited 2009-02-04 16:19 in BASIC Stamp
Is BS2px(baud 19200) able to communicate with BS2pe(baud 9600) ?

Can I lower the baud of BS2px to 9600 ? ·

Comments

  • SRLMSRLM Posts: 5,045
    edited 2009-02-04 07:53
    A faster stamp can definitely slow down to talk to a slower stamp. Take a look at the SEROUT/SERIN sections in the Syntax and Reference Guide for information on how to do this. Basically, it involves changing a constant. You'll probably want to use 396, but check to make sure.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-02-04 16:19
    Those baud rates you listed are only for the programming and DEBUG. For any SERIN/SEROUT communication you must specify the baud rate with the correct parameter in your statement. The list of valid baud ranges for each BASSIC Stamp model can be found in the Help File or in the BASIC Stamp manual. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.