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

◆ FillLEDsFromPaletteColors()

void FillLEDsFromPaletteColors ( uint8_t colorIndex)
Examples
ColorPalette.ino.

Definition at line 78 of file ColorPalette.ino.

79{
80 uint8_t brightness = 255;
81
82 for( int i = 0; i < NUM_LEDS; ++i) {
84 colorIndex += 3;
85 }
86}
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
TBlendType currentBlending
CRGBPalette16 currentPalette
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
unsigned char uint8_t
Definition s16x16x4.h:209

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: