Hello,
I am looking for a possibility for a timer that can run for several hours. So far I have only found one option that uses the millis () function, with this, however, as far as I understand, the timer can only be 2 147 483 647 milliseconds long, i.e. about 5 hours, which is not enough for my project.
Hello
the millis() function returns a unsigned long.
Take a calculator and check the value for roll-over.
I think it's some 47 or 49 days.....
No need to use your abacus.
https://www.google.com/search?q=(2^32)%2F(10006060*24).
Wow how did I mess that up I thought I had calculated that, I must have typed it wrong or something
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
