Page 1 of 1

ESp32 GPIO32 and GPIO33 not working together as RTC GPIO for EXT1

Posted: Tue May 29, 2018 5:25 am
by amsbhole07
I want to use GPIO 32 and GPIO33 as a RTC GPIO for waking up by ext1

// We use unsigned long here since 32 is a long
#define GPIO_BIT_MASK ((1ULL<<GPIO_NUM_32) | (1ULL<<GPIO_NUM_33))
esp_sleep_enable_ext1_wakeup(GPIO_BIT_MASK, ESP_EXT1_WAKEUP_ANY_HIGH);
it get trigger even if the 32 and 33 pin is not high