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

Function setup

examples/XYPath/simple.h:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55
56void setup() {
57 Serial.begin(115200);
58 auto screenmap = xyMap.toScreenMap();
59 screenmap.setDiameter(.2);
60 FastLED.addLeds<NEOPIXEL, 2>(leds, NUM_LEDS).setScreenMap(screenmap);
61
62}
63void loop() {
64 fl::clear(leds);
65 triggered = button.clicked();

Callers

nothing calls this directly

Calls 4

setDiameterMethod · 0.80
beginMethod · 0.45
toScreenMapMethod · 0.45
setScreenMapMethod · 0.45

Tested by

no test coverage detected