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.
Code: Select all
esp_sleep_enable_ext0_wakeup(GPIO_NUM_X, level)
Code: Select all
if (GPIO_NUM_X == HIGH)
{
do something here ...
}
Code: Select all
reading = digitalRead(GPIO_NUM_33);
Users browsing this forum: No registered users and 116 guests