Automatic Blinking LED

led blinking

Description

       This is a simple project on Arduino with an LED. Here an LED is blinking automatically in the intervals of time. The LED goes on for some interval and goes off for some interval. The blinking process of LED is continued.

Components Required

 1. Arduino UNO   * 1
 2. LED   * 1
 3. Resister(220 Ohm)   * 1

Circuit Diagram




Program

int led= 13; 
void setup() 
{ 
  pinMode(led, OUTPUT); 
} 
void loop( 
{ 
  digitalWrite(led, HIGH); 
  delay(1000); 
  digitalWrite(led, LOW); 
  delay(1000); 
  }