Arduino Nano Every Sleep Mode

You want to the interrupt to wake up the processor.
But: on interrupt you call the function goToSleep.

1 Like