Hello. At examples i see function "M5.setWakeupButton(BUTTON_A_PIN);" How i can use it? After "turnOff();" i see at port: "Enabling EXT1 wakeup on pins GPIO39
On deep sleep mode." I try wake up M5 but cant. For what this function M5.setWakeupButton(BUTTON_A_PIN) ?
sorry the to late see this, this problem is fix at latest library version.
This is a hardware problem of the IP5306 buck converter going into standby after 32 seconds.
It is explained in this thread: