Controlling LEDs.....and my destiny....

Hmmm.....

I have 8 RGB LEDs.

8 RGB LEDs = 24 pins.

On the initial iteration of the for-loop, x = 24.

On each subsequent iteration, x = x - 1.

Until, x >= 0. But since x always will be greater than zero until it equals zero, I guess the "greater than or equal to" could be changed just to an "equal to" no?

Iteration 1: x == 24
Iteration 2: x == 23
Iteration 3: x == 22
.........
Iteration 24: x == 1

On Iteration 25, x == 0. -> exit for-loop

On the initial iteration of the for-loop, x = 24.
On each subsequent iteration, x = x - 1.
Until, x >= 0. But since x always will be greater than zero until it equals zero, I guess the "greater than or equal to" could be changed just to an "equal to" no?