|
Re: Timer0 stubbornly not working
Quote:
|
Originally Posted by Kevin Sevcik
I thought I did. The PIC datasheet specifically says that the high byte is saved in a buffer until the low byte is written, however. I suppose I can try transposing them tomorrow, but that'd be terribly confusing. Also, to the above poster, the interrupt is set up just fine and is interrupting things as it should. Timer0 just isn't working properly.
About the IFI whitepaper. I looked it over already, and they very specifically aren't enabling the 16-bit read/write mode. Which is just fine for using it as a timer like they do, but is problematic when using it as a counter.
|
Perhaps I'm confusing the PICs and Atmel chips again, anyway though try it, because you're writing the Timer1 bytes in that order it appears and it seems to be working for you.
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!
I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
|