In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Peter Van der Zee wrote: Joel; Take a peek at the 2004/5 contest entry I submitted titled "Preemptive Real-Time Multi Tasking Operating System (RTOS)". It takes care of all the scheduling and timing details of running multiple tasks on an SX. The description and the code should be all you need to time things, without any concern about counting loops or cycles. Cheers, Peter (pjv) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=397751#m397998 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)