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

◆ SetupTotallyRandomPalette()

void SetupTotallyRandomPalette ( )

Definition at line 1214 of file funky.cpp.

1214 {
1215 for (int i = 0; i < 16; i++) {
1216 currentPalette[i] = CHSV(random8(), 255, random8());
1217 }
1218}
CRGBPalette16 currentPalette
LIB8STATIC uint8_t random8()
Generate an 8-bit random number.
Definition random8.h:46
Representation of an HSV pixel (hue, saturation, value (aka brightness)).
Definition chsv.h:16

References currentPalette, and random8().

Referenced by ChangePalettePeriodically().

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