In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Brian, 1 - Yes 2 - If you use "RETURNINT 52" that will drastically reduce the number of cycles the main code gets. If you leave the SX-Key connected you can use whatever freq you want. 3 - Yeah, that would be a better idea. 4 - The ISR code just modulates the IR LEDS. The main code has to check if it "sees" anything, and act accordingly. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=83815#m83935 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)