In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote: Jon, I had a chance to test both versions of the program you kindly provided. They work as expected, using my LED on/off concept. I have two questions, for now, concerning the ISR version. 1, In the ISR, you use two values, #74, #34. I have looked at these values from a decimal and binary perspective, and it is not making sense to me. Do these, somehow represent the 2.4, 1.2, 0.6 ms requirements, or am I way off. 2. In the RETURNINT, you place a value of 104 -> 26 us @ 4 MHz. You mention that it will work for a 9600 baud UART. If I change the processor freq value, will both items get messed up. I kind of see maybe the 9600 baud being affected, but the IR portion should be good at any freq change. Am I correct in these assumptions. Thanks ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=97908#m98318 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)