Interrupts()

來自ALSROBOT WiKi
跳轉(zhuǎn)至: 導(dǎo)航搜索
#define interrupts() sei()

開中斷

例子:


void setup() {}

void loop()
{
  noInterrupts();
  // critical, time-sensitive code here
  interrupts();
  // other code here
}