In SX Microcontrollers, SX/B Compiler and SX-Key Tool, CCraig wrote: Is it possible to run SIO on interupts? Do you used a flag to enable 'RX' mode. I can't find any examples. Did I miss it? details: I have a piggy backed GPS unit and Bean's SD data logger. The SX20 on the GPS (via Sio, single pin) sends a custom output string, waits a short time (15ms) for a command back, then goes on to log to the SD data logger if time to do so, process the command, get new data from the radio etc. The host board (SX28 right now, moving to SX48 I think), has LCD/Keyboard and the Sio from the GPS/logger. The LCD/keybrd are running under UART isr (thanks JonnyMac and Bean). My thinking is that because the second UART is mostly in the RX mode getting data from the GPS/logger and must send a command right after recieving the data burst, I can use a flag to set it to TX mode so the RX code won't receive it. Will that work? I don't see why not, but "Newbie ALERT". Even more so with isr's. Still, this has been a very good 'first' isr program. Thanks for Your Support, Chris ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=191125 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)