The problem is that when powered up, unless the button press is extremely quick, the ESP32 will go into deep sleep and then immediately wake up.
What options do I have to ensure that
Code: Select all
esp_sleep_enable_ext0_wakeup(POWER_BT, LOW); // Allow Power button to wake us up from deep sleep.
isn't triggered by the same button press that put the ESP32 into deep sleep?