// to be commented soon... // define pins #define Gpin 12 #define Bpin 11 // define integer-variables int gx,bx; //initialisation void setup() { pinMode(Gpin, OUTPUT); pinMode(Bpin, OUTPUT); } // execution statement void loop() { for(bx=0;bx<=255;bx=bx+5) {analogWrite(Bpin,bx); for(gx=0;gx<=255;gx=gx+15) {analogWrite(Gpin,gx); delay(50); } } }