Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ Leds
Method
Leds
src/fl/gfx/leds.cpp.hpp:10–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
namespace fl {
9
10
Leds::Leds(CRGB *leds, const XYMap &xymap) : mXyMap(xymap), mLeds(leds, xymap.getTotal()) {}
11
12
CRGB &Leds::operator()(int x, int y) {
13
if (!mXyMap.has(x, y)) {
Callers
nothing calls this directly
Calls
1
getTotal
Method · 0.80
Tested by
no test coverage detected