M5 PaperS3 wake on touch not working
Seems to be missing a case:
https://github.com/m5stack/M5Unified/blob/master/src/utility/Power_Class.cpp#L245
with the wake up pin being 48 I believe according to schematic?
Hello @skrat
what exactly do you mean by 'wake on touch'? Wake up from a shutdown state? Or wake up from one of the ESP32 sleep modes (deep sleep / light sleep)?
AFAIK only wake on touch from ESP32 light sleep is possible. Please see explanation and example here.
Thanks Felix
You are right, I want to use capacitive touch screen to wake up from light sleep.
Related discussion here: https://github.com/orgs/micropython/discussions/14351
I still don't see the _wakeupPin being assigned for PaperS3 board. I tried using wake_on_ext0 with GPIO pin 48, but I'm getting ValueError: invalid pin error.
Hello @skrat
oh, I see, you are using Micropython. I am not well versed in Micropython so I cannot really help. Sorry.
Thanks Felix