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

amsbhole07
Posts: 1
Joined: Tue Apr 10, 2018 6:38 am

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

Postby amsbhole07 » Tue May 29, 2018 5:25 am

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

Who is online

Users browsing this forum: fanmen1, Majestic-12 [Bot] and 122 guests