|
Re: quick question: TIMERS
Quote:
|
Originally Posted by Astronouth7303
I have had problems with interupts.c and timers. I use Timer 2 (and/or 1) to increment a variable and if that variable overflows, it increments another one. The problem is that I can't ever seem to get either to change. Help?
|
Why not just use a long? You won't overflow it (depending on the timer you use you'll have a couple thousand hours of timer before the long cycles).
__________________
~Alex Baxter
Programming, Arms operation, Team 254
|