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

Popular posts from this blog

Analog input Analog output of arduino

Arduino basic:How to get sub string from a string in arduino