Tri-colour LEDs contain two LEDs connected in parallel often with a common cathode connection which normally connects to 0V. This will normally be the centre leg of the LED.
The two LEDs are often green and red. By turning one or both LED's on the light output can be red, green or orange.
To obtain a full range of colours an RGB LED can be used.
A tri-colour LED may be connected to two generic terminal block create modules.
The outer two legs of the LED should go to the centre connectors of each terminal block (each through a 330R series resistor). The centre LED leg should connect to one of the 0V connections of the terminal blocks.
Bill of Materials
|Tri-colour 5mm LED ||? ||1 ||Buy Now |
|330 ohm resistor (pack 100) ||RES330R ||1 ||Buy Now |
Submit Your Own Code!
You must be logged in to submit code examples. Login now.