17#define TIME_FACTOR_HUE 60
18#define TIME_FACTOR_SAT 100
19#define TIME_FACTOR_VAL 100
47 static size_t frame_count = 0;
48 int frame_cycle = frame_count % 4;
52 switch (frame_cycle) {
67 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
static RGBWEmulatedController< ControllerT, GRB > rgbwEmu(rgbw)
WS2812< DATA_PIN, RGB > ControllerT
void fillAndShow(CRGB color)
@ White
<div style='background:#FFFFFF;width:4em;height:4em;'></div>
@ Green
<div style='background:#008000;width:4em;height:4em;'></div>
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>
@ Red
<div style='background:#FF0000;width:4em;height:4em;'></div>
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Representation of an RGB pixel (Red, Green, Blue)