Whats wrong with calculating it:
Second = (millis() - startmillis) / 1000ul ;
Much simpler, very hard to have obscure bugs in a simple formula!
Whats wrong with calculating it:
Second = (millis() - startmillis) / 1000ul ;
Much simpler, very hard to have obscure bugs in a simple formula!