Skip to content

Conversation

@tuna-f1sh
Copy link

The comment about interrupts not working on the Arduino Zero seems out of date, not enough pins are defined however - this was what prevented it working for me. I first used #13 but found that the code changes are not required to get it working - perhaps the core has changed since or @hanyazou was re configuring the pin accidentally in setup()?

Unfortunately SAMD variants of Arduinos have different mapping and expose different interrupt pins so not all SAMD21G18A are equal. There was no define that I could find separating them but the variant.cpp manages the hardware pin mapping so there is no issue with a user specifying a pin that does not map to an interrupt other than it not working. I've commented exclusive pins.

@CDRXavier
Copy link

CDRXavier commented Jul 7, 2022

I think there is a way to see the exact type of board used for compiling?
Same as you would differentiate between the other different boards?
The problem is the m0 is used in massively different boards, different MKR and including the Zero, with different amount of exposed pins, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants