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

Function setPanelHigh

examples/ElPanelReactive/el_panel.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void setPanelHigh(float brightness) {
23 uint8_t v = uint8_t(brightness * 255);
24 fill_solid(leds, LEDS_PER_PANEL, CRGB(v, v, v));
25}
26
27void setPanelLow(float brightness) {
28 uint8_t v = uint8_t(brightness * 255);

Callers

nothing calls this directly

Calls 3

fill_solidFunction · 0.50
CRGBClass · 0.50
analogWriteFunction · 0.50

Tested by

no test coverage detected