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

◆ getWavePalette()

CRGBPalette16 getWavePalette ( )

Definition at line 656 of file curr.h.

656 {
657 int paletteIndex = (int)wavePalette.value();
658 switch (paletteIndex) {
659 case 0:
660 return waveBluepal; // Electric blue waves
661 case 1:
662 return waveGreenpal; // Green/red waves
663 case 2:
664 return waveRainbowpal; // Rainbow waves
665 default:
666 return waveBluepal; // Default to blue
667 }
668}
UINumberField wavePalette("Wave Palette", 0, 0, 2)

References wavePalette().

Referenced by drawWave().

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