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

◆ FillLEDsFromPaletteColors()

void FillLEDsFromPaletteColors ( uint8_t colorIndex)
Examples
ColorPalette.ino.

Definition at line 76 of file ColorPalette.ino.

77{
78 uint8_t brightness = 255;
79
80 for( int i = 0; i < NUM_LEDS; ++i) {
82 colorIndex += 3;
83 }
84}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
TBlendType currentBlending
CRGBPalette16 currentPalette
UISlider brightness("Brightness", 255, 0, 255, 1)
CRGB ColorFromPalette(const CRGBPalette16 &pal, uint8_t index, uint8_t brightness, TBlendType blendType)
Get a color from a palette.

References brightness, ColorFromPalette(), currentBlending, currentPalette, leds, and NUM_LEDS.

Referenced by loop().

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