File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Language/Functions/External Interrupts Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,15 @@ Turns off the given interrupt.
23
23
24
24
[float]
25
25
=== Syntax
26
- `detachInterrupt()` +
27
- `detachInterrupt(pin)` (Arduino Due only)
26
+ `detachInterrupt(digitalPinToInterrupt(pin))` (Arduino AVR Boards only, recommended) +
27
+ `detachInterrupt(interrupt)` (Arduino AVR Boards only, not recommended) +
28
+ `detachInterrupt(pin)` (Arduino SAMD Boards, Due, 101 only)
28
29
29
30
[float]
30
31
=== Parameters
31
32
`interrupt`: the number of the interrupt to disable (see link:../attachinterrupt[attachInterrupt()] for more details).
32
33
33
- `pin`: the pin number of the interrupt to disable (Arduino Due only)
34
+ `pin`: the pin number of the interrupt to disable
34
35
35
36
[float]
36
37
=== Returns
You can’t perform that action at this time.
0 commit comments