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

◆ loop()

void loop ( )

Definition at line 66 of file direct.h.

66 {
68
69 // FASTLED_ASSERT(false, "This is a test");
70
71 // leds(x,y) = CRGB(255, 0, 0);
72 float from = offset;
73 float to = length.value() + offset.value();
74
75 heartPath->drawColor(CRGB(255, 0, 0), from, to, &leds, steps.as_int());
76
77
78 FastLED.show();
79}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
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:53
UISlider length("Length", 1.0f, 0.0f, 1.0f, 0.01f)
void clear(CRGB(&arr)[N])
Definition clear.h:8
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: