92 {
93 u16 ci = cistart;
94 u16 waveangle = ioff;
95 u16 wavescale_half = (wavescale / 2) + 20;
97 waveangle += 250;
98 u16 s16 = sin16(waveangle) + 32768;
99 u16 cs = scale16(s16, wavescale_half) + wavescale_half;
100 ci += cs;
101 u16 sindex16 = sin16(ci) + 32768;
102 u8 sindex8 = scale16(sindex16, 240);
105 }
106}
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType) FL_NO_EXCEPT