Yes and yes You have to assign it the prescaler, you have to set a value into it (if you want any thing other than 255), you have to set its interrupt active, you have to set global interrupts active and you have to respond to its interrupt (at least by re-activating global interrupts) and return. If you don't want to use interrupts you have to keep looking at the value yourself (and it's easy to miss if you have a low prescaler value in use). Look on the PICLIST archives (see link at bottom of email) for all that you need under clocks and timers. Bye. -----Original Message----- From: Simon-Thijs de Feber [mailto:stdf23173@YAHOO.CO.UK] Sent: Monday, 24 September 2001 4:05 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: How to use TMR0 Hello all, I have been trying to get the tmr0 of the 16F84 to work. So far i failed. Please could any one give me a correct procedure ?! Does it keep overflowing or do you have to initialize it every time agian ? grtz, Simon ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu