Common Computer Science References
At the end of this lesson, you will be able to:
make an RGB LED light up from your Arduino
single LED on breadboard
RGB LED has 4 legs
1 common ground
3 legs for red, green, blue
nil
You are now going to go through the process of creating a circuit with a single RGB LED (and resistors, so nothing breaks) using an Arduino as the power source and the code to make them flash
Draw the schematic diagram
Draw the breadboard diagram in TinkerCad Circuits (see below)
Build the real circuit on your breadboard
then code it!
rotate through each color:
red, green, blue, then red-green, green-blue, blue-red and finally red-green-blue (or white!)
remember, your RGB LED has 1 GND and 3 other legs; you also need a resistor for each leg besides GND
if you finish early, write the above program on your CircuitPython board