ESP32 Deep Sleep External Wake Up Query
Posted: Mon Feb 26, 2024 4:19 pm
In the Deep Sleep function call:
Is it possible to determine the logic state of 'GPIO_NUM_X'?
I have tried the followig -
but this does not execute.
Any help with this would be much appreciated.
Thank you.
Code: Select all
esp_sleep_enable_ext0_wakeup(GPIO_NUM_X, level)
I have tried the followig -
Code: Select all
if (GPIO_NUM_X == HIGH)
{
do something here ...
}
Any help with this would be much appreciated.
Thank you.