Arduino Uno by millerman2000

Cloned from Sketch Arduino Uno by codebender_walkthrough

This is a circuit that allows you toggle between three different components, in this case LEDs, by pressing a button.

This is a circuit that allows you toggle between three different components, in this case LEDs, by pressing a button. The cycle advances each time you press the button: (1) turns all off, (2) turn red on, (3) turn yellow on & red off, (4) turn green on &yellow off, (1) turns all off again, and repeats.

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