LED Blinking

by Allie3838 in Circuits > Arduino

172 Views, 0 Favorites, 0 Comments

LED Blinking

609343517 046829
IMG_3700.png

This Arduino project is a revised version of the project "Arduino - Blinking LED" :)

Supplies

- LED light (1)

- Arduino Leonardo board (1)

- Breadboard (1)

- Wires (2)

- Resistor (1)

Step 1 Connect

螢幕快照 2020-04-23 下午10.20.42.png
IMG_3706.jpg

You can know how to connect by looking the picture.

Step 2 Code

int led = 9;
void setup()

{ pinMode(led, OUTPUT); }

void loop()

{ digitalWrite(led, HIGH);

delay(500);

digitalWrite(led, LOW);

delay(500); }

Step 3 Decoration

IMG_3711.jpg

Draw what ever you like on the box you made or you can take boxes and decorate

Step 5 Done!

IMG_3713.jpg