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

◆ SetupTotallyRandomPalette()

void SetupTotallyRandomPalette ( )
Examples
ColorPalette.ino.

Definition at line 119 of file ColorPalette.ino.

120{
121 for( int i = 0; i < 16; ++i) {
122 currentPalette[i] = CHSV( random8(), 255, random8());
123 }
124}
CRGBPalette16 currentPalette
fl::hsv8 CHSV
Definition chsv.h:11
LIB8STATIC fl::u8 random8() FL_NOEXCEPT
Generate an 8-bit random number.
Definition random8.h:53

References currentPalette, and random8().

Referenced by ChangePalettePeriodically().

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