SIK_circuit04_multipleLEDs by SparkFun SIK Examples

Make eight LEDs dance. Dance LEDs, dance!

Hardware connections:

You'll need eight LEDs, and eight 330 Ohm resistors (orange-orange-brown).

For each LED, connect the negative side (shorter leg) to a 330 Ohm resistor.

  • Connect the other side of the resistors to GND.

  • Connect the positive side (longer leg) of the LEDs to Arduino digital pins 2 through 9.

Wiring Diagram

enter link description here

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:77049" 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>