Arduino
In this example we use the RGB led again but are introducing a couple of new programming topis. We introduce the switch case structure and the random and randomSeed functions..
An RGB led is basically 3 LEDs in the one package, a red, green and blue one which either share a common cathode or a common cathode. Using one of.
In the last example - http://www.mikroblog.net/arduino/arduino-basics/more-arduino-and-led-examples.php we showed you some examples of flashing multiple LEDs, now this code worked OK but there is a more efficient way of doing the same action. We use loops to initialize the LEDs and then again for switching the LEDs on...
In the first basic tutorial we showed a couple of simple LED examples, here is another couple to try A reminder of the schematic if you need it [caption.
Flashing an LED is one of the most basic projects to get started with when learning about the Arduino platform, in this example we will use 8 LEDs. This is for.