MCPcopy Create free account
hub / github.com/FastLED/FastLED / setBrightness

Function setBrightness

src/FastLED.h:1369–1369  ·  view source on GitHub ↗

Set the global brightness scaling @param scale a 0-255 value for how much to scale all leds before writing them out

Source from the content-addressed store, hash-verified

1367 /// Set the global brightness scaling
1368 /// @param scale a 0-255 value for how much to scale all leds before writing them out
1369 void setBrightness(fl::u8 scale) { mScale = scale; }
1370
1371 /// Get the current global brightness setting
1372 /// @returns the current global brightness value

Callers 1

showMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected