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

◆ loop()

void loop ( )

Definition at line 28 of file Fire2012.ino.

29{
30 // Add entropy to random number generator; we use a lot of it.
32
33 Fire2012(); // run simulation frame
34
35 FastLED.show(); // display this frame
36 FastLED.delay(1000 / FRAMES_PER_SECOND);
37}
#define FRAMES_PER_SECOND
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
void Fire2012()
Definition Fire2012.ino:79
LIB8STATIC void random16_add_entropy(uint16_t entropy)
Add entropy into the random number generator.
Definition random8.h:103
LIB8STATIC uint16_t random16()
Generate a 16-bit random number.
Definition random8.h:56

References FastLED, Fire2012(), FRAMES_PER_SECOND, random16(), and random16_add_entropy().

+ Here is the call graph for this function: