FastLED 3.10.8
Loading...
Searching...
No Matches

◆ show()

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
virtual void CPixelLEDController< RGB_ORDER, LANES, MASK >::show ( const CRGB * data,
int nLeds,
fl::u8 brightness )
inlineoverrideprotectedvirtual

Write the passed in RGB data out to the LEDs managed by this controller.

Parameters
datathe RGB data to write out to the strip
nLedsthe number of LEDs being written out
scale_pre_mixedthe RGB scaling of color adjustment + global brightness to apply to each LED (in RGB8 mode).

Implements fl::CLEDController.

Definition at line 47 of file cpixel_ledcontroller.h.

47 {
50 if(nLeds < 0) {
51 // nLeds < 0 implies that we want to show them in reverse
52 pixels.mAdvance = -pixels.mAdvance;
53 }
55 }
virtual void showPixels(PixelController< RGB_ORDER, LANES, MASK > &pixels) FL_NO_EXCEPT=0
Send the LED data to the strip.
Template extension of the CLEDController class.
ColorAdjustment getAdjustmentData(fl::u8 brightness) FL_NO_EXCEPT
fl::u8 getDither() const FL_NO_EXCEPT
Get the dithering option currently set for this controller.

References brightness, FL_NO_EXCEPT, fl::CLEDController::getAdjustmentData(), fl::CLEDController::getDither(), PixelController< RGB_ORDER, LANES, MASK >::mAdvance, and showPixels().

+ Here is the call graph for this function: