Arduino Blinking LED

by knexguy51 in Circuits > Arduino

179 Views, 0 Favorites, 0 Comments

Arduino Blinking LED

blinking.png

A blinking LED made with arduino. It's super easy to make, and you can send the link to anyone. Instructions are included.

Supplies

2 wires

1 220 OHM resistor

1 LED (you choose the color)

Any Arduino board

1 breadboard of any kind

Adding Ground Wires

blinking_ground.png

First, add a wire to pin 7, then connect the other end to 6 across on the A line.

Then, put a wire in 5V and connect it to C12.

Putting the Resistor On

ground_resistor.png

Add one side of the resisitor to the 5V wire, and the other one space down for pin 7.

Adding the LED

blinking (1).png

You should now be able to put the positive side on the resistor and the negative side of the LED on the wire to 5V.

What Is an Arduino Project Without Code? It's Time for Coding!

photo-1542831371-29b0f74f9713.jpg

I will copy the code and paste it here, so you can just copy and paste our code. Here it is:

int led = 7;

void setup() {

pinMode(led, OUTPUT);

}

void loop() {

digitalWrite(led, HIGH);

delay(1000);

digitalWrite(led, LOW);

delay(1000);

}

Like, Share, and Comment.

download.jpg

Come on! Time to Like, Share, And Comment. And view, follow too.