In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Please be patient with me Peter... I must get my head around this to implement it properly... So if you do the context switch, then the task CAN take longer than 1 tasktick ? If not how could you use more time than the isr would allow ? If the task CAN take longer than 1 tasktick, then does it keep the next task on-time ? Let's say we had two task that are at 10 tick intervals, but have a 5 tick offset. Could both of these tasks take 3 taskticks each time they are run, and still always be exectuted "on-time" ? If that is the case, then it makes sense... If not how does the context switch allow longer tasks ? Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=2&m=157842#m176175 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)