At 07:37 PM 12/20/2003 -0500, Olin Lathrop wrote: >Tony Harris wrote: >> My second timer is causing an interrupt every ~4us, > >That's a problem. Even at 20MHz, that's only 20 instructions. Which pics run at 1 MIPS/MHz? > It takes over 10 to get into and out of an interrupt, which doesn't leave many instructions to do anything useful. Your code is probably locked up >spending all of its time in the interrupt handler. Task swapping overhead is definitely eating you alive here. You need to decrease the frequency of the interrupt, by some means. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.