FastLED 3.10.6
Loading...
Searching...
No Matches

◆ setup()

void setup ( )

Definition at line 30 of file MultipleStripsInOneArray.ino.

30 {
31 // Add the first strip at index 0.
32 FastLED.addLeds<NEOPIXEL, 2>(leds, 0, NUM_LEDS_PER_STRIP);
33
34 // Add the second strip after the first segment.
35 FastLED.addLeds<NEOPIXEL, 3>(leds, NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
36
37 // Add the third strip after the second segment.
38 FastLED.addLeds<NEOPIXEL, 4>(leds, 2 * NUM_LEDS_PER_STRIP, NUM_LEDS_PER_STRIP);
39
40}
CRGB leds[1]
#define NUM_LEDS_PER_STRIP
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.

References FastLED, leds, and NUM_LEDS_PER_STRIP.