Hi Yes, when i'm done in my interrupt handler i reset the T0IF bit, but still the timerinterrupts occurs. There is a little delay between them, as if the pic is really counting some sort of signal. Basicly I use the same handlersource for the timerinterrupt and the RB0 interrupt, and the RB0 interrupt works just fine. -----Oprindelig meddelelse----- Fra: Georg Hager [SMTP:ghager@THEORIE3.PHYSIK.UNI-ERLANGEN.DE] Sendt: 23. april 1999 10:00 Til: PICLIST@MITVMA.MIT.EDU Emne: Re: PIC16F84 timer0 problems On Thu, Apr 22, 1999 at 06:14:19PM +0200, Henrik Nowak wrote: > > When I initialize the timer, and enable the interrupts, they start > to roll in, even though I have set the source of input to RA4. Hi! Do you reset the T0IF bit in the INTCON register upon entry into your interrupt routine? This bit has to be reset by software, or you will get a new interrupt every time the timer 0 int gets enabled again (e.g. by RETFIE). Georg.