Interrupts()

来自ALSROBOT WiKi
跳转至: 导航搜索
#define interrupts() sei()

开中断

例子:


void setup() {}

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