Shop OBEX P1 Docs P2 Docs Learn Events
Serout/Serin and EEPROM — Parallax Forums

Serout/Serin and EEPROM

demoralmdemoralm Posts: 2
edited 2013-03-04 18:16 in BASIC Stamp
Hi, I am trying to write a program so that I can send strings of data between master and slave basic stamps through the Serout and Serin commands. How can a command like this be structured? For example, what should I type inside the brackets?
SEROUT SO\FC, Baud, [__________]

SERIN SI\FC, Baud, [____________]

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2013-03-04 07:23
    There are lots of different things you could put in those brackets depending on what you want to transmit and receive, how you want it to appear (as data) on the serial line, etc. The best way to find out is to read the chapters on the SERIN and SEROUT statements in the BASIC Stamp Syntax and Reference Manual and to read Appendix C as well (see here for free download). Since you mentioned connecting two Stamps, make sure you're read Nuts and Volts Columns #55 and #56 (here) which discusses networking multiple Stamps.
  • demoralmdemoralm Posts: 2
    edited 2013-03-04 18:16
    Thank You heaps =D
Sign In or Register to comment.