Can anybody tell me what is wrong with this? I call the following line from the main loop but it doesn’t seem to want to change from the black palette I start with. Pretty sure I’m getting something fundamental wrong.
I’m using palette blending BTW.
SetupWarmWhitePalette(targetPalette1);
void SetupWarmWhitePalette(CRGBPalette16 palette)
{
fill_solid( palette, 16, CRGB(255, 220, 120));
palette[0] = CRGB::White;
palette[4] = CRGB::Orange;
palette[8] = CRGB::Orange;
palette[12] = CRGB::White;
}
Full code - https://codebender.cc/sketch:91941
