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

Method showColorInternal

src/fl/channels/cled_controller.h:181–185  ·  view source on GitHub ↗

@copybrief showColor(const CRGB&, int, CRGB) Will scale for color correction and temperature. Can accept LED data not attached to this controller. @param data the CRGB color to set the LEDs to @param nLeds the number of LEDs in the data array @param brightness the brightness of the LEDs @see showColor(const CRGB&, int, CRGB)

Source from the content-addressed store, hash-verified

179 /// @param brightness the brightness of the LEDs
180 /// @see showColor(const CRGB&, int, CRGB)
181 void showColorInternal(const CRGB &data, int nLeds, fl::u8 brightness) FL_NOEXCEPT {
182 if (mEnabled) {
183 showColor(data, nLeds, brightness);
184 }
185 }
186
187 /// Write the data to the LEDs managed by this controller
188 /// @param brightness the brightness of the LEDs

Callers 1

showColorMethod · 0.80

Calls 2

showColorFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected