Is there a way to enable a wakeup when either of the pins goes LOW (without adding a pulldown resistor)? Equivalent to:
esp_sleep_enable_ext1_wakeup(BUTTON_PIN_BITMASK,ESP_EXT1_WAKEUP_ANY_HIGH);
For light and deep sleep.
2 Answers
Hi.
Unfortunately, that option is not available for the esp_sleep_enable_ext1_wakeup method.
Check the documentation here: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/sleep_modes.html#enumerations
Regards,
Sara