On Sun, May 24, 2009 at 11:10 AM, Isaac Marino Bavaresco wrote: > You may also raise the task's priority above all the others, so no other > task will run while you are communicating. After the critical part, > lower the priority again. That will do. > Disable all the interrupts. The RTOS may lose some ticks, then correct > the tick value using an external reference (RTC or hardware timer > running at a slower rate). That will also do. Is there a way to somehow pause the timer? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist