Hi,
I attached interrupts to GPIO32/GPIO33 with internal pull-up to detect button presses (NEGEDGE) similarly to the gpio_example (https://github.com/espressif/esp-idf/bl ... ple_main.c).
However, the ISR is not always triggered. In fact, it is triggered ~1 out of 4 button presses (more or less randomly). Do ISRs only trigger on fast edges?
[CLOSED] GPIO interrupt from buttons not always triggering
[CLOSED] GPIO interrupt from buttons not always triggering
Last edited by DurandA on Sun Apr 26, 2020 12:06 am, edited 1 time in total.
Re: GPIO interrupt from buttons not always triggering
Shame on me. I correctly set pull up but forgot to initialize pull_down_en to 0.
Who is online
Users browsing this forum: Google [Bot] and 108 guests