Hello Ruben, On Tue, 22 Dec 2009 11:30:08 +0100 Ruben J=F6nsson wrote: > > >The timer works as expected when I try the code with the simulator. > >So, when the debugger (ICD3) is halting the processor - should timer1 cont= inue = >counting? I don't have MPLAB handy here, but if I remember correctly there are debugger settings to halt the peripherals or not ... Regards, JvW Jan van Wijk, author of DFSee; http://www.dfsee.com ---------------------------------------------------------------------------= ---- -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist