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

◆ loop()

void loop ( )

Definition at line 71 of file direct.h.

71 {
73
74 // FASTLED_ASSERT(false, "This is a test");
75
76 // leds(x,y) = CRGB(255, 0, 0);
77 float from = offset;
78 float to = length.value() + offset.value();
79
80 heartPath->drawColor(CRGB(255, 0, 0), from, to, &leds, steps.as_int());
81
82
83 FastLED.show();
84}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:62
UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
UISlider steps("Steps", 100.0f, 1.0f, 200.0f, 1.0f)
XYPathPtr heartPath
Definition direct.h:58
UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
void clear(CRGB(&arr)[N])
Definition clear.h:13
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:55

References fl::clear(), FastLED, heartPath, leds, length(), offset(), and steps().

+ Here is the call graph for this function: