Search found 1 match

by jhennrich
Thu Aug 03, 2023 2:32 pm
Forum: ESP-IDF
Topic: gpio_intr_enable() unnecessary?
Replies: 1
Views: 901

gpio_intr_enable() unnecessary?

1: I just wrote a minimal code example to enable a rising-edge Interrupt for a GPIO using the IDF 5.1. The code works and the Interrupt is detected, however I noticed that calling the function "gpio_intr_enable()" is completely unnecessary: gpio_num_t gpio_num = GPIO_NUM_0; // [set gpio_num as input...