if you sketch only needs to respond to interrupts, you can set SLEEPONEXIT and it will sleep when exiting an interrupt handler rather than going into thread mode
if you sketch only needs to respond to interrupts, you can set SLEEPONEXIT and it will sleep when exiting an interrupt handler rather than going into thread mode