MCPcopy 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

8namespace fl {
9
10Leds::Leds(CRGB *leds, const XYMap &xymap) : mXyMap(xymap), mLeds(leds, xymap.getTotal()) {}
11
12CRGB &Leds::operator()(int x, int y) {
13 if (!mXyMap.has(x, y)) {

Callers

nothing calls this directly

Calls 1

getTotalMethod · 0.80

Tested by

no test coverage detected