In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Zoot wrote: The code in the interrupt runs every 10 microseconds "in the background". Think of it is a separate program that runs at very precise intervals, over and over. All it does, really, is count "up". The "main" program occasionally reads this count to see how much time has passed, and to reset the counter to zero. The rest is keeping track of what's going on, and making some decisions. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=438115#m438504 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)