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

◆ loop()

void loop ( )

Definition at line 66 of file FxFire2012.ino.

67{
68 fire->draw(Fx::DrawContext(millis(), leds)); // run simulation frame
69
70 FastLED.show(millis()); // display this frame
71 FastLED.delay(1000 / FRAMES_PER_SECOND);
72}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define FRAMES_PER_SECOND
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
Fire2012Ptr fire
_DrawContext DrawContext
Definition fx.h:21

References FastLED, fire, FRAMES_PER_SECOND, and leds.