Interrupt counts twice, FALLIING and RISING !

TK5EP-JN41IW
Posts: 1
Joined: Sun Jun 18, 2023 6:35 am

Interrupt counts twice, FALLIING and RISING !

Postby TK5EP-JN41IW » Sun Jun 18, 2023 6:42 am

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,

Who is online

Users browsing this forum: No registered users and 104 guests