Instructions

IDUINO for maker’s life
www.openplatform.cc 43
HIGH = off), color[1] = green value, color[2] =blue value)
*/
void setColor(int* led, boolean* color){
for(int i = 0; i < 3; i++){
digitalWrite(led[i], color[i]);
}
}
void setColor(int* led, const boolean* color){
boolean tempColor[] = {color[0], color[1], color[2]};
setColor(led, tempColor);
}
********Code End********
Module14 : SMD RGB LED Module
1. Introduction
RGB LED module consists of a full-color LED made by R, G, B three pin PWM voltage input
can be adjusted. Primary colors (red / blue / green) strength in order to achieve full color
mixing effect. Control of the module with the Arduino can be achieved Cool lighting effects.
Specification
Red Vf: 1.8 to 2.1V
Green Vf: 3.0 to 3.2V
Blue Vf: 3.0 to 3.2V
Red color: 620-625 nm
Green color: 520-525 nm
Blue color: 465-470 nm