Page 1 of 1

Interrupt counts twice, FALLIING and RISING !

Posted: Sun Jun 18, 2023 6:42 am
by TK5EP-JN41IW
Hi,

I've a TTGO T3 module and have programmed with the Arduino IDE.

I use 2 pins on which I attached interrupts with FALLING edges.

I count the interrupts and see that the ESP32 counts both FALLING and RISING edges.
I debounced the input by software and hardware, but there is no solution.
I tried to changed pins, internal or external pullups, etc... No way.

It clearly counts each edge !!

I suspect a bug somewhere.

Has anyone else noticed this weird behavior ?

Thanks,