almost 4 years ago

http://arduino.googlecode.com/files/arduino-1.0.5-r2-windows.zip

int led = 13; 

void setup() {
    pinMode(led, OUTPUT); 
}

void loop() {   
    digitalWrite(led, HIGH);
    delay(1000);
    digitalWrite(led, LOW);
    delay(1000);
}
← Android - 資料儲存 程式規劃(二) 語法整理 →
 
comments powered by Disqus