Nodes Documentation
Dual Color LED

Node to control Light Emitting Diodes (LEDs) With two leads and two colors. Like the 3 mm Red-Blue LEDs that comes with the Quirkbot kits. It controls LEDs connected to the Arms, Legs, and Head.
Connections
Inputs
- light
- Range:
0
-1
- Set brightness of the LED:
0
=Off1
=Max0.5
=Half brightness.
- Range:
- color
- Range:
0
-1
- Set color mix of the LED, So for R-B LEDs:
0
=Red1
=Blue0.5
=Equal mix
- Range:
- place
- Values:
H
,LA
,LL
,RA
,RL
- Choose where the LED is placed.
- Values:
Example CODE
- DualColorLED example
- Funky Blinking Horn.
Hardware
Dual color LEDs
Comment
The 2 lead, dual color LEDs (or bi-color) is actually 2 LEDs inside one package connected in parallel but reverse from each other. So the long lead is the positive anode of red and the negative cathode from blue. The short lead is anode from blue and cathode from red.
Learn more
LEDs are everywhere! In a relatively short time the have become one of the most important technologies in todays world. Learn more about the history of LEDs are and what makes them special from other light sources: Light-emitting diode on Wikipedia.