Interrupts
detachInterrupt()
Turns off the given interrupt.
// SYNTAX
detachInterrupt(pin);
pin
is the pin number of the interrupt to disable.
The detachInterrpt()
function is not interrupt-safe. Do not call it from within an interrupt service routine (ISR).