#define R 12 #define G 13 #define B 15 void setup() { // put your setup code here, to run once: pinMode(R, OUTPUT); pinMode(G, OUTPUT); pinMode(B, OUTPUT); } void loop() { analogWrite(R,random(0,1023)); analogWrite(G,random(0,1023)); analogWrite(B,random(0,1023)); delay(1000); // put your main code here, to run repeatedly: }