MCPcopy Create free account
hub / github.com/FastLED/FastLED / loop

Function loop

examples/XYPath/direct.h:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void loop() {
63 // leds(x,y) = fl::CRGB(255, 0, 0);
64 fl::clear(leds);
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}

Callers

nothing calls this directly

Calls 6

drawColorMethod · 0.80
clearFunction · 0.50
CRGBClass · 0.50
valueMethod · 0.45
as_intMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected