Tutorial alternative.

Hi all.
I have bought an arduino UNO with sidekick basic kit recently and I have been trying those tutorials.
I think 4th tutorial (rainbow on desk) can be more impressive with the same circuit changing the code to:

[code]void setup() {

}

void loop() {
// Go from Red to Green
analogWrite (11, 255);
for (int i = 0; i <=255; i++){
analogWrite (9, i);
analogWrite (10, 255-i);
delay (2);
}
// Go from Green to Blue
analogWrite (10, 0);
for (int i = 0; i <=255; i++){
analogWrite (10, i);
analogWrite (11, 255-i);
delay (2);
}
// Go from Blue to Red
analogWrite (11, 0);
for (int i = 0; i <=255; i++){
analogWrite (11, i);
analogWrite (9, 255-i);
delay (2);
}
}[/code]
Showing all posible colors, not every possible combination of intensities. :smiley:
I hope I expressed myself well :blush: . I’m spanish and dont speak English very well.

Thanks for the sharing, and hope to see more tutorials and feedback.