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

Function loop

ci/adafruit_bridge/adafruit_bridge.ino.cpp:33–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void loop() {
34 static uint8_t hue = 0;
35
36 // Update colors
37 fill_rainbow(leds_grb, NUM_LEDS, hue, 255/NUM_LEDS);
38 fill_solid(leds_rgb, NUM_LEDS, CHSV(hue, 255, 255));
39 fill_solid(leds_bgr, NUM_LEDS, CHSV(hue + 128, 255, 255));
40
41 FastLED.show();
42
43 hue += 2;
44 delay(50);
45}

Callers

nothing calls this directly

Calls 4

fill_rainbowFunction · 0.50
fill_solidFunction · 0.50
delayFunction · 0.50
showMethod · 0.45

Tested by

no test coverage detected