Hi guys,
I’m having an issue with the CPT custom palettes and the new DEFINE_GRADIENT_PALETTE.
I’m on ARM adafruit feather m0 (which doesn’t support PROGMEM - just puts whatever is const in flash).
After defining a custom palette with similar code to the awesome ColorWavesWithPalettes, this causes to crash the board:
CRGBPalette16 gTargetGradientPalette = gGradientPalettes[0]
(see GradientPalettes array as defined here: https://gist.github.com/kriegsman/8281905786e8b2632aeb)
Any idea what could be the problem?
If I replace the line above with:
CRGBPalette16 gTargetGradientPalette (CRGB::Black), everything works fine.