#define noInterrupts() cli()
關(guān)中斷
例子:
void setup() {} void loop() { noInterrupts(); // critical, time-sensitive code here interrupts(); // other code here }