Hello,
Can you use GPIO35 as digital inpunt?
I did some test but it does not work.
#define POWER_CNTR GPIO_NUM_35
gpio_set_direction(DB_POWER_CNTR, GPIO_MODE_INPUT);
if ( gpio_get_level(POWER_CNTR)==0 ){
ESP_LOGI(APP_TAG, "POWER_CNTR pin = 0");
}
else{
ESP_LOGI(APP_TAG, "POWER_CNTR pin = 1");
}
Do you have any suggestions?
Thanks
ESP32-WROOM-322E - GPIO35 as Digital Input
-
- Posts: 3
- Joined: Sat Apr 09, 2022 9:32 am
Who is online
Users browsing this forum: No registered users and 92 guests