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

Function loop

examples/XYPath/simple.h:63–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62}
63void loop() {
64 fl::clear(leds);
65 triggered = button.clicked();
66 if (triggered) {
67 FL_WARN("Triggered");
68 }
69 x = pointX.as_int();
70 y = pointY.as_int();
71 leds[xyMap(x, y)] = fl::CRGB(255, 0, 0);
72
73 FastLED.show();
74}

Callers

nothing calls this directly

Calls 5

clearFunction · 0.50
CRGBClass · 0.50
clickedMethod · 0.45
as_intMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected