Help with code. Fade in LEDs from off (shift register)
I was mistakenly thinking that setting the brightness variable to 255 would mean that the LED is full on. This is wrong, 255 is actually off.

So with a little change in my code.

for (byte b = 255; b &gt; 0; b--) {
  setBrightnessUp(b); //calls the brightnessup function
  delay(30);
}


The loop now works. I am still not sure why 255 is off and not on though.