Skip to content

Commit 758453d

Browse files
authored
Merge PR #555 "Clarify documentation in attach/detachInterrupt syntax section" from per1234
Clarify documentation in attach/detachInterrupt syntax section
2 parents b788230 + 14436b5 commit 758453d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Language/Functions/External Interrupts/attachInterrupt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ For more information on interrupts, see http://gammon.com.au/interrupts[Nick Gam
5959
=== Syntax
6060
`attachInterrupt(digitalPinToInterrupt(pin), ISR, mode);` (recommended) +
6161
`attachInterrupt(interrupt, ISR, mode);` (not recommended) +
62-
`attachInterrupt(pin, ISR, mode);` (Not recommended. Arduino SAMD Boards, Uno WiFi Rev2, Due, 101 only)
62+
`attachInterrupt(pin, ISR, mode);` (Not recommended. Additionally, this syntax only works on Arduino SAMD Boards, Uno WiFi Rev2, Due, and 101.)
6363

6464

6565
[float]

Language/Functions/External Interrupts/detachInterrupt.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Turns off the given interrupt.
2525
=== Syntax
2626
`detachInterrupt(digitalPinToInterrupt(pin))` (recommended) +
2727
`detachInterrupt(interrupt)` (not recommended) +
28-
`detachInterrupt(pin)` (Not recommended. Arduino SAMD Boards, Uno WiFi Rev2, Due, 101 only)
28+
`detachInterrupt(pin)` (Not recommended. Additionally, this syntax only works on Arduino SAMD Boards, Uno WiFi Rev2, Due, and 101.)
2929

3030
[float]
3131
=== Parameters

0 commit comments

Comments
 (0)