Quote Originally Posted by The Master View Post
Just 'reading between the lines' of your post. I havnt checked yet but i wouldnt be supprised if you could set the value of the register to whatever you want after an interrupt so instead of counting 0-128 and checking in a loop you can start at 128 and count upto 255 which will allow the interrupt to work still
BAM!
So I think I can infer that you figured out that you can both read AND write the TMR0 register like any other R/W register out there. There's only a couple of 'catches' to writing the TMR0 register...and that item IS in the datasheet...
Reload TMR0 with 128 (plus a small correction value depending on your code) and you're 51.2us can become 25.6us, or more, or less, depending on whatever you want to do...
Works the same with the rest of the timers too...