FastLED 3.9.15
Loading...
Searching...
No Matches

◆ loop()

void loop ( )

Definition at line 24 of file FxTwinkleFox.ino.

24 {
26 twinkleFox.chooseNextColorPalette(twinkleFox.targetPalette);
27 }
28 twinkleFox.draw(Fx::DrawContext(millis(), leds));
29 FastLED.show();
30}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
TwinkleFox twinkleFox(NUM_LEDS)
_DrawContext DrawContext
Definition fx.h:21
#define EVERY_N_SECONDS(N)
Checks whether to execute a block of code every N seconds.
Definition lib8tion.h:1324
#define SECONDS_PER_PALETTE
Definition twinklefox.h:97

References EVERY_N_SECONDS, FastLED, leds, SECONDS_PER_PALETTE, and twinkleFox.