void interrupts();
void interrupts();
Enables interrupt (after it is disabled by noInterrupts()). By default, interrupts make some essential tasks executed in background. Disabling interrupts will make some communication functions unable to work normally and external interaction ignored. Therefore, please pay particular attention when using this function and enable the interrupt again as soon as possible
void setup() {} void loop() { noInterrupts(); // critical, time-sensitive code here interrupts(); // other code here }
WInterrupts.h