In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: If you're not super comfortable with assembly, why not just use SX/B 2.x for your SX application (see the download thread at the top of the SX forum main page). This will let you use "Stamp-like" commands like SERIN and SEROUT for communication. For *any* serial commands, or accurate PULSIN/PULSOUT type commands, you *must* use a resonator, crystal or TTL clock with the SX. The internal 4mhz oscillator is not accurate enough for reliable serial communication. For your do/loop issue, you will not hae an easy to "break out" without using serial routines in an Interrupt Service Routine (ISR), so that the serial input/output happens invisibly in the background. If you have pins to spare, you could use another pin on the Stamp and the SX for a pseudo busy/flow-control signal (i.e., the slave could manually poll the pin and if it changes state, then you could break out of the loop, etc. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=468682#m468702 Need assistance? Send an email to the Forum Administrator at sysadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)