割り込みを無効にします。interrupts関数をコールすることによって再度有効にすることができます。
●Example from Arduino Web Site
[c]
void setup() {
}
void loop()
{
noInterrupts();
// critical, time-sensitive code here
interrupts();
// other code here
}
[/c]
割り込みを無効にします。interrupts関数をコールすることによって再度有効にすることができます。
●Example from Arduino Web Site
[c]
void setup() {
}
void loop()
{
noInterrupts();
// critical, time-sensitive code here
interrupts();
// other code here
}
[/c]