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

Function setup

examples/Fx/Particles1d/Particles1d.h:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44uint32_t lastSpawnTime = 0;
45
46void setup() {
47 fl::ScreenMap screenMap = fl::ScreenMap::Circle(NUM_LEDS, 5.0, 5.0);
48 FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS).setScreenMap(screenMap);
49 FastLED.setBrightness(64);
50}
51
52void loop() {
53 uint32_t now = fl::millis();

Callers

nothing calls this directly

Calls 2

setScreenMapMethod · 0.45
setBrightnessMethod · 0.45

Tested by

no test coverage detected