Seems overcomplicated to me to use interrupts. Just do what you have to do, and then loop until millis() returns 1000 more than last time, and you know the second is up.
Seems overcomplicated to me to use interrupts. Just do what you have to do, and then loop until millis() returns 1000 more than last time, and you know the second is up.