Serin and Serout between stamps
Campeck
Posts: 111
I want to communicate between stamps but it looks like both commands issue a clock signal. So that probably wont work right? I will need to Serout with one stamp and write my own receive code for the other stamp correct?
Comments
http://forums.parallax.com/showthread.php?t=124342
http://www.emesystems.com/BS2rs232.htm
on the second link, look for Master/Slave setup.
Jim
SERIN and SEROUT is the way to go. You might also use a 2nd I/O pin on each Stamp for signalling ("Hey there! I've got something for you!" / "OK, go ahead and send it. I'll be listening.").
http://www.parallax.com/Resources/NutsVoltsColumns/NutsVoltsVolume2/tabid/446/Default.aspx
It's funny because I was just going through some 3-ring binders damaged in the Nashville flood from May, and those two articles where right on top, barely visible through the water streaked inkjet ink.
Jim
I think I will just SEROUT on the Tx side, and make a program on the Rx side to shiftin on received clock cycles.
http://www.parallax.com/Portals/0/Downloads/docs/prod/stamps/web-BSM-v2.2.pdf
Jim