Add the following snippet to your HTML:
Light up an LED!
Read up about this project on
I decided to help beginners I guess...
So, connect your breadboard to the Arduino
Then, connect the LED and resistor in and Wa-La!
int LED = 9; void setup () { pinMode(LED, OUTPUT); } void loop () { digitalWrite(LED, HIGH); delay(500); digitalWrite(LED, LOW); delay(500); }
Comments