Iduino SE018 User guide

IDUINO for maker’s life
Two Color LED Module 3mm(SE018
1 Introduction
This module is similar with the module SE057, it also can gradually generate two kinds color, Red and Green, from the one color to the other one. The difference is the diameter of the LED is 3mm.The “s” pin represents Red color and the middle pin means Green color.
Specification:
Color: Green + Red Diameter: 3mm Case Color: None Package Type: Diffusion Voltage (V) :2.0-2 .5 Using a current (MA): 10 Viewing angle: 150 Wavelength (NM): 571 +644 Luminous intensity (MCD) :20-40; 40-80 Stent type: long-legged
www.openplatform.cc
IDUINO for maker’s life
Pin
Description
S
Red color pin
Middle pin
Green color pin
-
Ground
2 pinout
3. Example
Here is an 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);
www.openplatform.cc
Loading...
+ 1 hidden pages