Why not have a pulldown switch that goes to the interrupt pin - if the sketch is running and the interrupt occurs low (use the internal pullup on D2), then go into sleep more - and if in sleep mode and the interrupt occurs, wake up.
Why not have a pulldown switch that goes to the interrupt pin - if the sketch is running and the interrupt occurs low (use the internal pullup on D2), then go into sleep more - and if in sleep mode and the interrupt occurs, wake up.