int greenpin = 5; // select the GPIO pin for the green LED
int redpin = 4; // select the GPIO pin for the red LED
int bluepin = 0; // select the GPIO pin for the blue LED
void setup () {
pinMode (redpin, OUTPUT);
pinMode (greenpin, OUTPUT);
pinMode (bluepin, OUTPUT);
}
void loop () {
analogWrite (redpin, random(255));
delay (200);
analogWrite (greenpin, random(255));
delay (200);
analogWrite (bluepin, random(255));
delay (200);
}