You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attaching interrupt to PD2 or PD3 should handle RISING, CHANGE and FALLING behavior.
However FALLING is actually doing CHANGE. RISING is working properly!
I've been doing some experiments and I can't manage to reproduce this issue. FALLING is working just as expected for me.
I'm going to close this but if @jps2000 or @e-ika will provide me with enough information to reproduce the issue, I'll be happy to re-open it.
Note that if you use a switch or similar to trigger the interrupt, you could indeed get a FALLING interrupt when the pin goes HIGH. The reason is that contact bounce will actually cause several transitions from HIGH to LOW and back before the pin reaches a steady state. A more suitable source of a clean interrupt signal for testing is another Arduino board running the Blink example.
Activity
per1234 commentedon Aug 13, 2018
Is this really related to a problem with the documentation content?
jps2000 commentedon Aug 17, 2018
First it is something that is not working.
Hence one can mention that in doc or repair it
e-ika commentedon Sep 6, 2018
Yes, seems something that isn't working
per1234 commentedon Jan 24, 2019
I've been doing some experiments and I can't manage to reproduce this issue.
FALLING
is working just as expected for me.I'm going to close this but if @jps2000 or @e-ika will provide me with enough information to reproduce the issue, I'll be happy to re-open it.
Note that if you use a switch or similar to trigger the interrupt, you could indeed get a
FALLING
interrupt when the pin goesHIGH
. The reason is that contact bounce will actually cause several transitions fromHIGH
toLOW
and back before the pin reaches a steady state. A more suitable source of a clean interrupt signal for testing is another Arduino board running the Blink example.