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

◆ getWavePalette()

fl::CRGBPalette16 getWavePalette ( )

Definition at line 644 of file curr.h.

644 {
645 int paletteIndex = (int)wavePalette.value();
646 switch (paletteIndex) {
647 case 0:
648 return waveBluepal; // Electric blue waves
649 case 1:
650 return waveGreenpal; // Green/red waves
651 case 2:
652 return waveRainbowpal; // Rainbow waves
653 default:
654 return waveBluepal; // Default to blue
655 }
656}
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: