Skip to content

Commit 7b06be6

Browse files
authored
Merge pull request #822 from arduino/attach-interrupt-fix
Updated mega row for interrupts
2 parents 355788a + 97aa695 commit 7b06be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Functions/External Interrupts/attachInterrupt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The first parameter to `attachInterrupt()` is an interrupt number. Normally you
2222
|Board |Digital Pins Usable For Interrupts
2323
|Uno, Nano, Mini, other 328-based |2, 3
2424
|Uno WiFi Rev.2, Nano Every |all digital pins
25-
|Mega, Mega2560, MegaADK |2, 3, 18, 19, 20, 21
25+
|Mega, Mega2560, MegaADK |2, 3, 18, 19, 20, 21 (*pins 20 & 21* are not available to use for interrupts while they are used for I2C communication)
2626
|Micro, Leonardo, other 32u4-based |0, 1, 2, 3, 7
2727
|Zero |all digital pins, except 4
2828
|MKR Family boards |0, 1, 4, 5, 6, 7, 8, 9, A1, A2

0 commit comments

Comments
 (0)