Post

Getting To Blinky

Blinking an LED using an Arduino

Blinking a light emitting diode (LED) is the electronics version of what the “Hello World!” program is to programming languages. In this tutorial, we will learn how to use an arduino microcontroller to blink an LED!

Desktop View Supplies

Desktop View Step 3 Close

Desktop View Step 3 angle

Desktop View Step 1 Top

Desktop View Step 1 Side

Desktop View Step 2 Top

Desktop View Step 2 Side

Desktop View Step 2 angle

Desktop View Step 3 Top

Desktop View Step 3 Close

Desktop View Step 3 angle

Desktop View Step 4 Top

Desktop View Step 4 side

Desktop View Step 4 angle

1
2
3
4
5
6
7
8
9
10
11
12
13
void setup() 
{
  pinMode(7,OUTPUT);

}

void loop() 
{
  digitalWrite(7, HIGH); //Turn ON pin7
  delay(500);            //Wait
  digitalWrite(7, LOW);  //TURN OFF pin7
  delay(1000);           //Wait
}
This post is licensed under CC BY 4.0 by the author.

Trending Tags