FastLED 3.10.6
Loading...
Searching...
No Matches

◆ showPixels()

template<u8 RED_PIN, u8 GREEN_PIN, u8 BLUE_PIN>
void fl::AnalogRGBController< RED_PIN, GREEN_PIN, BLUE_PIN >::showPixels ( PixelController< RGB > & pixels)
inlineoverrideprotected

Definition at line 33 of file analog.h.

33 {
34 if (!pixels.has(1)) {
35 writeRgb(0, 0, 0);
36 return;
37 }
38
39 writeRgb(pixels.loadAndScale0(), pixels.loadAndScale1(),
40 pixels.loadAndScale2());
41 }
virtual void writeRgb(u8 red, u8 green, u8 blue) FL_NO_EXCEPT
Definition analog.h:43
Drives one non-addressable RGB LED or strip from three PWM pins.
Definition analog.h:18

References fl::FL_NO_EXCEPT, and writeRgb().

+ Here is the call graph for this function: