Official Arduino.cc Example. int pin = 13; volatile int state = LOW;. void setup() { pinMode(pin, OUTPUT); attachInterrupt(0, blink, CHANGE); //0 is digtal ...
確定! 回上一頁