63 uint32_t ms = millis();
64 uint8_t
blend = sin8(ms / 16);
67 CRGB warm(255, 200, 130);
68 CRGB cool(180, 200, 255);
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
ESP32-P4 Parallel IO (PARLIO) LED channel.
CRGB blend(const CRGB &p1, const CRGB &p2, fract8 amountOfP2)
void fill_solid(CRGB *targetArray, int numToFill, const CRGB &color) FL_NOEXCEPT
Fill a range of LEDs with a solid color.
@ TypicalSMD5050
Typical values for SMD5050 LEDs.
LIB8STATIC fl::u8 lerp8by8(fl::u8 a, fl::u8 b, fract8 frac)
Linear interpolation between two unsigned 8-bit values, with 8-bit fraction.
@ WwWcEnd
RGB followed by warm-W, cool-W.
constexpr ChipsetTimingConfig makeTimingConfig() FL_NOEXCEPT
Convert compile-time CHIPSET type to runtime timing config.
5-channel RGB + warm-W + cool-W (RGBWW / RGBCCT) configuration types (issue #2558,...
Configuration for a single LED channel.
fl::variant< fl::Empty, Rgbw, Rgbww > mWhiteCfg
White-channel selection (variant): Empty = plain RGB, Rgbw = 4-channel, Rgbww = 5-channel.
Optional channel configuration parameters All fields have sensible defaults and can be overridden as ...
Per-strip RGBWW configuration.