Light6challenge by LightSoundAction

Program an Array of LEDs

Light Challenge 6 Fritzing File

Playing with multi-colors was fun, let's see now what we can do with multiple LEDs in general. In a line, we can make several different patterns with just a few LEDs. This circuit is created for 6 LEDs, but see if you can add 2 more (the code is already ready for 8 LEDs.) Observe each pattern, make your own!

1 Arduino

1 USB cable

1 Breadboard

6-8 LEDs

6-8 330 ohms resistors

8-10 jumper wires

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:301355" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>