User manual

IDUINO for makers life
www.openplatform.cc
2 pinout
Pin
Description
S
Red color pin
Middle pin
Green color pin
-
Ground
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);