5,710
edits
Changes
→Part 4 - Looping over Multiple Digital Outputs
* As you desire more complicated behavior, your program is going to get ridiculous very soon, with endless lists of <code>digitalWrite()</code> and <code>if</code> statements. There are more efficient ways to do this... for instance using <code>for</code> loops, <code>switch</code> statements, and arrays.
=== Part 4 - Looping over Multiple Digital Outputs ===
* Set up six or more digital LED outputs similar to those in part 1. (work in pairs if you would like)
[[Image:Three_lights.jpg|400px]]