arduino blinking led project

Blinking LED Guide Video

Objective

Blinking LED

Blinking LED Component

  • 1x Arduino UNO
  • 1 LED

  • 1 USB cables
  • 1 Bread Board

  • 1 x 220 Resistor

  • 2 Jumper wires

Blinking LED Circuit

blinking led circuit
blinking led circuit

Blinking LED Coding view

  • pinMode (pin , mode)  :-It is  function is used to configure a specific pin to behave either as an input or an output. 
  • loop() A loop is a programming function that iterates a statement or condition based on specified boundaries.
  • The digitalWrite() Function is used to write a HIGH or a LOW value to a digital pin.
  • delay(10):- it Pauses the program for the amount of time (in milliseconds) specified as parameter.

Blinking LED Coding

int Pin=8;

void setup() {

 pinMode(Pin,OUTPUT);

}

void loop() {

 digitalWrite(Pin,HIGH);

  delay(1000);

  digitalWrite(Pin,LOW);

  delay(1000);

}

Install software

Output

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!