|
Hello NIico, pins 2, 3 , A1 are working well, and not A0... |
Answered by
flowmeter
Mar 3, 2022
Replies: 2 comments 6 replies
|
For which board? |
1 reply
|
i reversed back to normal attach interrup pins 2 and 3 and all 4 pins work. `void setup() { attachInterrupt(digitalPinToInterrupt(2), digitalInterruptCAS1, FALLING); |
5 replies
Answer selected by
flowmeter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i reversed back to normal attach interrup pins 2 and 3 and all 4 pins work.
`void setup() {
//interrup calls
attachInterrupt(digitalPinToInterrupt(2), digitalInterruptCAS1, FALLING);
attachInterrupt(digitalPinToInterrupt(3), digitalInterruptCAS2, FALLING);
attachPinChangeInterrupt(digitalPinToPinChangeInterrupt(CAS3), digitalInterruptCAS3, FALLING);
attachPinChangeInterrupt(digitalPinToPinChangeInterrupt(CAS4), digitalInterruptCAS4, FALLING); `