|
FastLED 3.10.6
|
| const TProgmemRGBPalette16 HeatColors_p FL_PROGMEM PROGMEM |
PROGMEM keyword for storage.
Approximate "black body radiation" palette, akin to the FastLED HeatColor() function.
HSV color ramp: blue, purple, pink, red, orange, yellow (and back).
HSV Rainbow colors with alternatating stripes of black.
HSV Rainbow.
Forest colors, greens.
Ocean colors, blues and whites.
Lava color palette.
Teensy 4.x (__IMXRT1062__) workaround: Teensy core defines PROGMEM as __attribute__((section(".progmem"))), which causes GCC to emit "section
type conflict" errors when a single translation unit contains FL_PROGMEM variables of different types (e.g. CRGB, float, i32) — see the fl.fx+ unity build that aggregates colorpalettes.h, sin32.h, and mic_response_data.h. Teensy 4 has a unified linear address space and places const data in .rodata (flash) automatically via the linker script, so the section attribute is unnecessary on this platform. Emitting empty FL_PROGMEM keeps user code that uses Arduino's PROGMEM directly unaffected.
Basically, everything but the greens, which tend to make people's skin look unhealthy. This palette is good for lighting at a club or party, where it'll be shining on people.
It's recommended that you use values 0-240 rather than the usual 0-255, as the last 15 colors will be "wrapping around" from the hot end to the cold end, which looks wrong.
Definition at line 71 of file fastled_progmem.h.
Referenced by fl::easeInSine8(), fl::anonymous_namespace{five_bit_hd_gamma.cpp.hpp}::five_bit_impl::FL_ALIGN_PROGMEM(), fl::FL_ALIGN_PROGMEM(), and fl::gfx::detail::FL_ALIGN_PROGMEM().