Roughly how long does
if(millis() - lastTime >= 60000) {
lastTime = millis();
take to execute in loop() compared to just
if (boolean flag)
in the case of an interrupt?
Roughly how long does
if(millis() - lastTime >= 60000) {
lastTime = millis();
take to execute in loop() compared to just
if (boolean flag)
in the case of an interrupt?