int ledPin = 13;// LED connected to digital pin 13. 2. void setup(){. 3. pinMode(ledPin, OUTPUT);// sets the digital pin as output.
確定! 回上一頁