For the last component, we will connect RGB LED.
Place it as shown on the picture, but make sure that the far left (red leg) is not connected to the breadboard.
The second leg from the left, ground, goes into GND pin. Next one, blue leg, goes to D5 and the last leg (guessed it, green), goes to D6.
Same as we did in the first tutorial, we need to add a resistor to our light. Since there is no free space, we must do this outside of the breadboard.
Get your 100Ω and connect it to the red leg of your LED light. You can do this anyway you like, just make sure that they are touching each other at one point. After wrapping it around the leg, use a soldering iron and solder them together.
After you have connected LED with the resistor, connect the remaining resistor leg to D2 pin on your breadboard.
Updated over 1 year ago