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

◆ pacifica_deepen_colors()

void pacifica_deepen_colors ( )
Examples
Pacifica.ino.

Definition at line 159 of file Pacifica.ino.

160{
161 for( uint16_t i = 0; i < NUM_LEDS; i++) {
162 leds[i].blue = scale8( leds[i].blue, 145);
163 leds[i].green= scale8( leds[i].green, 200);
164 leds[i] |= CRGB( 2, 5, 7);
165 }
166}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
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:44
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:86

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: