Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
}
63
void 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
clear
Function · 0.50
CRGB
Class · 0.50
clicked
Method · 0.45
as_int
Method · 0.45
show
Method · 0.45
Tested by
no test coverage detected