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