Trying to add a custom color to a pallet it uploads but it will not show:
Before Setup() Definitions:
CRGB whiteMod = CHSV(19, 120, 255);
const TProgmemRGBPalette16 BasicColors_p PROGMEM =
{
whiteMod,
CRGB::Blue,
CRGB::Green,
CRGB::Yellow,
CRGB::OrangeRed,
CRGB::Red
};
CRGBPalette16 currentPalette;
TBlendType currentBlending;
In Setup():
currentPalette = BasicColors_p;
currentBlending = LINEARBLEND;
In Loop():
leds[i] = ColorFromPalette(currentPalette, colorIndex, 255, currentBlending);
All colors show except whiteMod. What do I do?