FastLED 3.9.15
Loading...
Searching...
No Matches

◆ pacifica_deepen_colors()

void fl::Pacifica::pacifica_deepen_colors ( CRGB * leds)
private

Definition at line 127 of file pacifica.h.

127 {
128 for (uint16_t i = 0; i < mNumLeds; i++) {
129 leds[i].blue = scale8(leds[i].blue, 145);
130 leds[i].green = scale8(leds[i].green, 200);
131 leds[i] |= CRGB(2, 5, 7);
132 }
133}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
uint16_t mNumLeds
Definition fx.h:50
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
Definition scale8.h:34

References leds, fl::Fx::mNumLeds, and scale8().

+ Here is the call graph for this function: