Search found 2 matches
- Sun Aug 04, 2024 8:45 am
- Forum: ESP-IDF
- Topic: How to use GPIO43 as Input on a ESP32-S3
- Replies: 2
- Views: 683
Re: How to use GPIO43 as Input on a ESP32-S3
Hi, I found the solution: void init(void) { gpio_set_direction(GPIO_NUM_43, GPIO_MODE_INPUT); gpio_config_t config{(1ULL << 43), GPIO_MODE_INPUT, GPIO_PULLUP_DISABLE, GPIO_PULLDOWN_DISABLE, GPIO_INTR_POSEDGE}; gpio_config(&config); gpio_install_isr_service(0); gpio_isr_handler_add(GPIO_NUM_43, butto...
- Thu Aug 01, 2024 6:48 pm
- Forum: ESP-IDF
- Topic: How to use GPIO43 as Input on a ESP32-S3
- Replies: 2
- Views: 683
How to use GPIO43 as Input on a ESP32-S3
Hi, I'd like use the GPIO43 on ESP32-S3 as Input. I'm doing this (I don't know what I have to put on <XX>): [Codebox] gpio_iomux_in(GPIO_NUM_43, <XX>); gpio_config_t config{BIT(43), GPIO_MODE_INPUT, GPIO_PULLUP_ENABLE, GPIO_PULLDOWN_DISABLE, GPIO_INTR_POSEDGE}; gpio_config(&config); gpio_install_isr...