In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: Xbees are serial, so if you do any kind of ISR work (whether using raw pin state counts or RTCC or PORT B interrupt pin states, you'll need to move the serial comm routines into the ISR. SXB serin and serout depend on consistent timing of cycles un-interrupted (or fold it into TASKs but I think the overhead there may be too stiff). Or go back to Bean what suggested -- doing a COUNT in the mainline (if you can afford to take time off from counting pulses to do your serial comms and other work). ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=406111#m408195 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)