Description
Turns off the given interrupt.
Syntax
detachInterrupt(digitalPinToInterrupt(pin))
(recommended)
detachInterrupt(interrupt)
(not recommended)
detachInterrupt(pin)
(Not recommended. Arduino SAMD Boards, Uno WiFi Rev2, Due, 101 only)
Parameters
interrupt
: the number of the interrupt to disable (see attachInterrupt() for more details).
pin
: the pin number of the interrupt to disable
Returns
Nothing