Intermedia Studio
Abinadi Meza, University of Houston
Wednesday, September 8, 2010
Hello World: Blink an LED with Arduino
#define LED 13
void setup() {
pinMode(LED, OUTPUT);
}
void loop()
{
digitalWrite(LED, HIGH);
delay(1000);
digitalWrite(LED, LOW);
delay(100);
}
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment