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

◆ loop()

void loop ( )

Definition at line 62 of file direct.h.

62 {
63 // leds(x,y) = fl::CRGB(255, 0, 0);
65 float from = offset;
66 float to = length.value() + offset.value();
67 heartPath->drawColor(fl::CRGB(255, 0, 0), from, to, &leds, steps.as_int());
68 FastLED.show();
69}
fl::CRGB leds[NUM_LEDS]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
fl::UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
fl::XYPathPtr heartPath
Definition direct.h:53
fl::UISlider steps("Steps", 100.0f, 1.0f, 200.0f, 1.0f)
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
void clear(CRGB(&arr)[N])
Definition clear.h:12
Representation of an 8-bit RGB pixel (Red, Green, Blue)
Definition crgb.h:38

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

+ Here is the call graph for this function: