This page is also available in 3 other languages

detachInterrupt()

[External Interrupts]

Description

Turns off the given interrupt.

Syntax

detachInterrupt()
detachInterrupt(pin) (Arduino Due only)

Parameters

interrupt: the number of the interrupt to disable (see attachInterrupt() for more details).

pin: the pin number of the interrupt to disable (Arduino Due only)

Returns

Nothing