Olin Lathrop wrote: > [SNIP] > 2 - You can jump into a sequence of NOPs to de-jitter a timer. This can be > particularly useful on the 12 bit core, which has no interrupts. The normal > way to wait for a timer to trigger takes at least a 3 cycle loop. If that > is too much jitter, you can instead wait for the timer to get close, then do > a ADDW PCL to jump forwards a amount depending on the current timer value. > The result is you come out of the NOP chain exactly synchronized with the > timer. > > That is cool! -Mark -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist