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

Function setup

tests/fbuild_qemu_smoke/src/main.cpp:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25CRGB leds[NUM_LEDS];
26
27void setup() {
28 Serial.begin(115200);
29 Serial.println("FBUILD-QEMU-TEST-BOOT");
30
31 FastLED.addLeds<WS2812, PIN_DATA, GRB>(leds, NUM_LEDS);
32 leds[0] = CRGB::Red;
33 FastLED.show();
34
35 Serial.println("FBUILD-QEMU-TEST-OK");
36}
37
38void loop() {
39 delay(1000);

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
printlnMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected