FastLED
3.10.6
Loading...
Searching...
No Matches
◆
setup()
void setup
(
)
Definition at line
22
of file
BlinkParallel.ino
.
22
{
23
Serial
.begin(115200);
24
delay
(100);
// Give serial time to initialize
25
26
delay
(2000);
27
28
Serial
.println(
"BlinkParallel setup starting"
);
29
Serial
.print(
"NUM_LEDS: "
);
30
Serial
.println(
NUM_LEDS
);
31
32
33
//FastLED.addLeds<WS2812, 5>(leds, NUM_LEDS); // GRB ordering is assumed
34
FastLED
.addLeds<WS2812, 1>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
35
FastLED
.addLeds<WS2812, 2>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
36
FastLED
.addLeds<WS2812, 3>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
37
FastLED
.addLeds<WS2812, 4>(
leds
,
NUM_LEDS
);
// GRB ordering is assumed
38
39
Serial
.print(
"Initialized 4 LED strips with "
);
40
Serial
.print(
NUM_LEDS
);
41
Serial
.println(
" LEDs each"
);
42
43
Serial
.println(
"Setup complete - starting blink animation"
);
44
45
delay
(1000);
46
}
leds
CRGB leds[1]
Definition
AnalogOutput.ino:26
NUM_LEDS
#define NUM_LEDS
Definition
Animartrix.ino:79
FastLED
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition
FastLED.cpp.hpp:90
fl::delay
void delay(u32 ms, bool run_async=true) FL_NO_EXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition
delay.h:98
Serial
#define Serial
Definition
serial.h:304
References
FastLED
,
leds
,
NUM_LEDS
, and
Serial
.
examples
BlinkParallel
BlinkParallel.ino
Generated on Sun Oct 4 2026 23:09:02 for FastLED by
1.13.2