-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
I had difficulty tracking down information on which pins can be used with attachInterrupt()
, so I thought I'd share what I found. Hopefully it's useful to someone.
Board PIN | Internal PIN | Interrupt |
---|---|---|
D2 | 2 | EXTERNAL_INT_2 |
D3 | 3 | EXTERNAL_INT_3 |
D9 | 9 | EXTERNAL_INT_9 |
D10 | 10 | EXTERNAL_INT_10 |
D11 | 11 | EXTERNAL_INT_11 |
That information was extracted from github.com/arduino/ArduinoCore-samd/blob/master/variants/nano_33_iot/variant.cpp. Use at your own risk, etc.
Edit: Trials show the analog pins don't seem to work as interrupts.
pierre-b
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request