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

◆ setup()

void setup ( )

Definition at line 25 of file ArrayOfLedArrays.ino.

25 {
26 // Add the first NEOPIXEL strip on pin 2.
27 FastLED.addLeds<NEOPIXEL, 2>(leds[0], NUM_LEDS_PER_STRIP);
28
29 // Add the second NEOPIXEL strip on pin 3.
30 FastLED.addLeds<NEOPIXEL, 3>(leds[1], NUM_LEDS_PER_STRIP);
31
32 // Add the third NEOPIXEL strip on pin 4.
33 FastLED.addLeds<NEOPIXEL, 4>(leds[2], NUM_LEDS_PER_STRIP);
34
35}
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.