LED BLINKING
Follow this video for circuit diagram
COMPONENTS LIST:
1. Arduino uno board
2. LED
3. Resistor 100 ohm
4. Connection cables .
LED:
ARDUINO CODE:
void setup() {
pinMode(13 OUTPUT);
}
void loop() {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Comments
Post a Comment