-
Hello NIico, pins 2, 3 , A1 are working well, and not A0... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
For which board? |
Beta Was this translation helpful? Give feedback.
-
i reversed back to normal attach interrup pins 2 and 3 and all 4 pins work. `void setup() { attachInterrupt(digitalPinToInterrupt(2), digitalInterruptCAS1, FALLING); |
Beta Was this translation helpful? Give feedback.
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); `