Description
Setting up a a light emitting diode and making it blink.
Componentes Used
Source Code
/*
* Blink
*
* Tilman Dingler
* 09/04/2008, Theory and Practice of Tangible User Interfaces
*
*/
int blueLED = 1;
void setup() {
pinMode(blueLED, OUTPUT);
}
void loop() {
digitalWrite(blueLED, HIGH);
delay(500);
digitalWrite(blueLED, LOW);
delay(500);
}
Circuit Image