17#define TIME_FACTOR_HUE 60
18#define TIME_FACTOR_SAT 100
19#define TIME_FACTOR_VAL 100
22 kRGBWDefaultColorTemp,
38void fillAndShow(
CRGB color) {
39 for (
int i = 0; i < NUM_LEDS; ++i) {
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
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)