ESP32-WROOM-32E - GPIO33 as digital output
Posted: Mon May 22, 2023 4:14 pm
Hello
I am trying to configure GPIO_NUM_33 as digital output, below the
code:
but it seems that it does not work.
In the datasheet I read that GPIO_NUM_33 is an I/O pin, so I do not understand why it does not work. Do you have any suggestions?
Thank you, Marco
I am trying to configure GPIO_NUM_33 as digital output, below the
code:
- gpio_set_direction(GPIO_NUM_33, GPIO_MODE_OUTPUT);
- while (1) {
- vTaskDelay(500 / portTICK_PERIOD_MS);
- /* Toggle the LED state */
- s_led_state = !s_led_state;
- gpio_set_level(GPIO_NUM_33, s_led_state);
- }
In the datasheet I read that GPIO_NUM_33 is an I/O pin, so I do not understand why it does not work. Do you have any suggestions?
Thank you, Marco