Millis rolling over

TimChown

Member
Hello

Just thought I'd post up what looks like a typo on the site which I copied into my code and it caused much head scratching before eventually finding it.

On the millis page it states millis() returns a number between 0 and 429497295 when this should be 4294967295 (to be consistent with the roll over times and an unsigned long)

https://www.pjrc.com/teensy/td_timing_millis.html

Cheers

Tim
 
Back
Top