Products

News

Contact Us

Phone

Current Position > Products

Product Name: KEYES Small two Color led modul , 3mm red and blue

Name: 3MM red and green LED module 
Arduino special learning modules 
Operating Voltage: DC 3-5V 
Features: 
1, single-channel signal output; 
2, with mounting holes for easy fixed installation; 
3, the output switch circuit board, which can be accessed microcontroller IO port directly.KEYES Small dichroic modul for arduino

KEYES Small dichroic modul for arduino

Name: 3MM red and green LED module

Arduino special learning modules

Operating Voltage: DC 3-5V

Features:

1, single-channel signal output;

2, with mounting holes for easy fixed installation;

4, the output switch circuit board, which can be accessed microcontroller IO port directly.

//Arduino test code:

int redpin = 11;// select the pin for the red LED

int bluepin =10;// select the pin for the blueLED

int val;

void setup() {

pinMode(redpin, OUTPUT);

pinMode(bluepin, 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:

1, single-channel signal output;

2, with mounting holes for easy fixed installation;

4, the output switch circuit board, which can be accessed microcontroller IO port directly.