FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setBrightness()

void CFastLED::setBrightness ( uint8_t scale)
inline

Set the global brightness scaling.

Parameters
scalea 0-255 value for how much to scale all leds before writing them out

Definition at line 725 of file FastLED.h.

725{ m_Scale = scale; }
UISlider scale("Scale", 4,.1, 4,.1)
uint8_t m_Scale
the current global brightness scale setting
Definition FastLED.h:355

References m_Scale, and scale.