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

◆ pacifica_deepen_colors()

void pacifica_deepen_colors ( )
Examples
Pacifica.ino.

Definition at line 149 of file Pacifica.ino.

150{
151 for( uint16_t i = 0; i < NUM_LEDS; i++) {
152 leds[i].blue = scale8( leds[i].blue, 145);
153 leds[i].green= scale8( leds[i].green, 200);
154 leds[i] |= CRGB( 2, 5, 7);
155 }
156}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
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
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:54

References leds, NUM_LEDS, and scale8().

Referenced by fl::Pacifica::draw(), and pacifica_loop().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: