Closed GoogleCodeExporter closed 9 years ago
This is often discussed in the forums. "correct" code should not need to
detect when these counters overflow, because unsigned math still gives correct
results for time differences. Also, tracking overflows would add significant
complexity to the timer ISR (essentially the same overhead you complain about
adding to loop, except that it would happen every clock tick, for all sketches,
whether needed or not (and you'd still need to check the result in loop() as
well.))
Original comment by wes...@gmail.com
on 6 Aug 2012 at 9:06
For the reasons that westfw discusses.
Original comment by dmel...@gmail.com
on 7 Aug 2012 at 8:36
Understood. I wasn't sure if there was a simpler hardware way to do this or
not.
Original comment by nrb...@crimson.ua.edu
on 7 Aug 2012 at 9:37
Original issue reported on code.google.com by
xolr...@gmail.com
on 17 Jun 2012 at 6:50