I mean, all the interrupt will do is tell you the second is up. Well you can find that out for yourself.
if (millis () - lastMillis >= 1000)
{
// time to start again ...
}
I mean, all the interrupt will do is tell you the second is up. Well you can find that out for yourself.
if (millis () - lastMillis >= 1000)
{
// time to start again ...
}