I’m trying to wake up or stop/cancel a sleep function by a GPIO pin.
The interruptIn function is working, I can flip an LED during sleep to test, however the sleep remains active until it times out.
I could do this before with the earlier version of deepsleep.
I want the GPIO pin to cancel the sleep function.
Is there any way to do this?