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

◆ loop()

void loop ( )

Definition at line 76 of file FxFire2012.ino.

77{
78 fire->draw(fl::Fx::DrawContext(fl::millis(), leds)); // run simulation frame
79
80 FastLED.show(fl::millis()); // display this frame
81 FastLED.delay(1000 / FRAMES_PER_SECOND);
82}
fl::CRGB leds[NUM_LEDS]
#define FRAMES_PER_SECOND
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
fl::Fire2012Ptr fire
::fl::DrawContext DrawContext
Definition fx.h:21
fl::u32 millis()
Universal millisecond timer - returns milliseconds since system startup.

References FastLED, fire, FRAMES_PER_SECOND, leds, and fl::millis().

+ Here is the call graph for this function: