vitor-alves / pool-heater-arduino

Homemade arduino control board to substitute Heliotek Tp650b original control board
0 stars 0 forks source link

Millis() reset issue #2

Open vitor-alves opened 8 years ago

vitor-alves commented 8 years ago

Problem occurs after millis() resets back to 0 after 49 days and a few hours (less than 24)

vitor-alves commented 8 years ago

time = (millis() % millisInADay);