This question already has an answer here:
- How can I handle the millis() rollover? 4 answers
I'm developing a arduino based system, which includes a alarm system.
In the requirements, it says: "Time does not require any special hardware. Internally, Time depends upon Arduino's millis() function to keep track to elasped time."
Considering Arduino's millis() rollover after 49.7 days, how can I ensure these lybraries are handling the rollover well?
I don't think that waiting 49.7 days to test it is the better way.