3mm Red & Green LED Module Arduino Compatible
ARD2-2211
$1.95
QTY | Price |
---|---|
1 | $1.95 |
Description
This module features a 3mm red/green LED with a common cathode. The LED can be used for the status indicator, perfect for indicating changes of state in your project. With PWM, you can adjust the lightness of each color to make the LED turn to other colors, such as Yellow.
Test Code
int redpin = 11; // select the pin for the red LED
int greenpin = 10; // select the pin for the green LED
int val;
void setup () {
pinMode(redpin, OUTPUT);
pinMode(greenpin, OUTPUT);
Serial.begin(9600);
}
void loop () {
for (val = 255; val > 0; val-- ) {
analogWrite(11, val);
analogWrite(10, 255-val);
delay(15);
}
for (val = 0; val < 255; val++) {
analogWrite(11, val);
analogWrite(10, 255-val);
delay(15);
}
Serial.println(val, DEC);
}
Features
- 3mm Red & Green LED (Common Cathode)
- Ideal for indicating changes of state
Specifications
Operating Voltage
2.0 - 2.5V
Colour (LED)
Red & Green
Diameter
3mm
Current
10mA
Viewing Angle
150°
Wavelength
571nm & 644nm
Luminous Intensity
20 - 40MCD; - 80MCD
Stent Type
Long-legged
Colour (Board)
Black
Material
PCB
Resources
All prices are in Australian Dollars and include GST. GST will be removed from your order if you are ordering from outside Australia.
Products may differ from pictured.
All trademarks and trade names are the properties of their respective owners. Wiltronics disclaims any proprietary interest in trademarks and trade names other than its own.