setBrightness()
- Description
-
Set the global brightness level for all NeoPixels. Only affects pixel
colors set after it is called. That is, if you set an LED color and
then call setBrightness, it wont affect that older LED color. Only
going forward will the brightness change to be different.
- Syntax
-
setBrightness(b);
- Parameters
-
b
[uint16_t]: Brightness value, 0 (dim) to 255 (bright).
- Returns
-
Nothing