In SX Microcontrollers, SX/B Compiler and SX-Key Tool, peterverkaik wrote: Bean, I attached a test program I am working on. The Reschedule subroutine does not work yet, but I hope it shows what I have in mind. I am testing using sx/b for the scheduler. Once we have the fastest algorithm to achieve this, it could be changed to assembly because in the end the compiler will insert the scheduler code. Note that I defined the tasks at this moment just as SUBs with predefined interval times in the tasklist. Once you have the TASK identifier, the compiler can fill the tasklist. regards peter ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=157842#m175941 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)