In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DosManDan wrote: I'm using a single wire serial connection to send data to an LCD. I also am using an interrupt to count down a timer. Of course, the interrupt or the timer is interferring with the serial info going to the LCD. I believe I have to count the clock cycles for each instruction and each possible path through the interrupt. They all need to spend the same amount of time in the interrupt. Then, I need to adjust the timing of the next interrupt and take into account the time spent in the interrupt. But, how exactly do I find out how long the interrupt takes? I have Gunther's book and he explains it well, but it is for using assembly, not SX/B. Do I need to look at the assembly breakdown of the SX/B and then add it all up? Help me Obi-Wan.... Dan ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=273507 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)