example code: looping thought PWMs for 4 LED stripe

Dear all,

Any one can provide an example code to start my project - looping through PWMs for 4 LED stripe.

LED stripe #1 -->PWM 0 - 255 and then LED stripe #2 -->PWM 0 - 255 and then LED stripe #3 -->PWM 0 - 255 and then LED stripe #4 -->PWM 0 - 255

Thanks!

Five minutes studying the for loop, and you'd be done.

void loop(){
for (byte x = 0; x<=255; x=x+1){
analogWrite (3, x);
delay(5);
}
for (byte x = 0; x<=255; x=x+1){
analogWrite (5, x);
delay(5);
}
for (byte x = 0; x<=255; x=x+1){
analogWrite (6, x);
delay(5);
}
for (byte x = 0; x<=255; x=x+1){
analogWrite (9, x);
delay(5);
}
while (1); // hang out until reset is pressed
}