Go Down

Topic: Did something change with how pin interrupts are handled in the board files? (Read 347 times) previous topic - next topic

scswift

Between version 1.6.8 and the current version, something seems to have broke with the pin interrupts on my Zero compatible Tau boards, according to one person using them.

I haven't changed the board definition at all, so something has changed at some point which caused them to break. They work fine when you define the interrupt by physical pin, but not digital pin.

I'm not even sure if this is something which is defined within the board files actually. It may be something in the SAMD libraries was changed.

This is all the information I have on the issue:

Quote
The "attachInterrupt(digitalPinTo Interrupt,..."  no longer works... Use the actual pin number and you are in business... "attachInterrupt(physicalPinTo Interrupt...."  works flawlessly.

dlabun

These two forums posts both indicate interrupt issues related to the ADC, RTC and SerialUSB... Might be a more generic issue going on

https://forum.arduino.cc/index.php?topic=492181.0

https://forum.arduino.cc/index.php?topic=492670.0

Go Up