FastLED 3.9.15
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 46 of file cpixel_ledcontroller.h.

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

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

+ Here is the call graph for this function: