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

◆ loop()

void loop ( )

Definition at line 77 of file FxFire2012.ino.

78{
79 fire->draw(Fx::DrawContext(millis(), leds)); // run simulation frame
80
81 FastLED.show(millis()); // display this frame
82 FastLED.delay(1000 / FRAMES_PER_SECOND);
83}
CRGB leds[NUM_LEDS]
#define FRAMES_PER_SECOND
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
Fire2012Ptr fire
_DrawContext DrawContext
Definition fx.h:21

References FastLED, fire, FRAMES_PER_SECOND, and leds.