|
Re: quick question: TIMERS
Again...read my post...
If you use an int for your counter variable, you will have more than enough space. An int in C is a two byte variable, meaning the signed version can store from -32000 to 32000.
What you're thinking about is a char, a one byte variable. That will turn over at 254 (or 128 if it is signed).
Have you tested your code yet?
__________________
~Alex Baxter
Programming, Arms operation, Team 254
|