Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

DISABLEIRQ

Since version 2.1

Syntax:

disableirq

The DISABLEIRQ command sets the CPU's interrupt flag, preventing the CPU from responding to IRQ interrupt events.

To re-enable the respond to IRQ, use ENABLEIRQ

WARNING: keyboard scanning will be disabled if you turn off interrupts. Make sure interrupts are enabled when you intend to use INPUT or INKEY().