Interrupts__ - jimaobian/DFRobotWikiCn GitHub Wiki
#define interrupts() sei()
开中断
例子:
void setup() {}
void loop()
{
noInterrupts();
// critical, time-sensitive code here
interrupts();
// other code here
}
#define interrupts() sei()
开中断
例子:
void setup() {}
void loop()
{
noInterrupts();
// critical, time-sensitive code here
interrupts();
// other code here
}