3#define FASTLED_RMT_BUILTIN_DRIVER 0
4#define FASTLED_EXPERIMENTAL_ESP32_RGBW_ENABLED 0
5#define FASTLED_EXPERIMENTAL_ESP32_RGBW_MODE kRGBWExactColors
22#define TIME_FACTOR_HUE 60
23#define TIME_FACTOR_SAT 100
24#define TIME_FACTOR_VAL 100
27 kRGBWDefaultColorTemp,
43void fillAndShow(
CRGB color) {
44 for (
int i = 0; i < NUM_LEDS; ++i) {
52 static size_t frame_count = 0;
53 int frame_cycle = frame_count % 4;
57 switch (frame_cycle) {
72 for (
int i = -1; i < frame_cycle; ++i) {
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
void setBrightness(uint8_t scale)
Set the global brightness scaling.
void show(uint8_t scale)
Update all our controllers with the current led colors, using the passed in brightness.
static CLEDController & addLeds(CLEDController *pLed, struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset=0)
Add a CLEDController instance to the world.
Representation of an RGB pixel (Red, Green, Blue)