![](/html/bb/bb76/bb769e485fba3353e183c8c1ea151a62737d0fbcccc380a0a18f720e978db628/bg1.png)
IDUINO for maker’s life
Two Color LED Module 5mm (SE057)
1 Introduction
This module can gradually generate two kinds color, Red and Green, from the one
color to the other one. The “s” pin represents Red color and the middle pin means
Green color.
Specification:
Color: Green + Red
Diameter: 5mm
Case Color: None
Package Type: Diffusion
Voltage (V): G :2.3-2 .6 V; R :1.9-2 .2 V
Using a current (MA): 20
Viewing angle: Wavelength (NM): 571 +625
Luminous intensity (MCD) :20-40; 60-80
Stent type: long-legged
www.openplatform.cc
![](/html/bb/bb76/bb769e485fba3353e183c8c1ea151a62737d0fbcccc380a0a18f720e978db628/bg2.png)
IDUINO for maker’s life
2 pinout
3. Example
Here is a example show that the color of the LED gradually change to Green from
Red. The connection as below:
********Code Begin********
int redpin = 11; // select the pin for the red LED
int greenpin = 10;// select the pin for the greenLED
int val;
void setup () {
pinMode (redpin, OUTPUT);
pinMode (bluepin, OUTPUT);
Serial.begin (9600);
}
void loop ()
{
for (val = 255; val> 0; val --)
{
analogWrite (11, val);
www.openplatform.cc