Nick Veys wrote: >Been trying to get a timer to fire off on my 16F870 for a while now... > >I tried TMR0 since I had experience setting it on from my 16F84a. Here >are the steps I take: > >Set up TMR0 configuration stuff, prescalar, etc. (watchdog disabled of >course) >Enable T0 interrupt >Enable Global Interrupts > >wait for the magic to happen. nothing. is there something I'm missing >on the 16F870 to get a timer to go off? My code worked fine on my 16F84 >so I just changed it to fit a 870... .........> Nick, I did not parse your code, but here is a suggestion for the next time you're beating your head against the wall over something like this. Simplify it to 1 step at a time. Do the timer stuff, and get it working correctly via polling the IF flag without doing the interrupts. Once that is good, then add in the interrupt stuff. - dan -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body