FastLED 3.9.15
Loading...
Searching...
No Matches

◆ setup()

void setup ( )

Definition at line 20 of file ArrayOfLedArrays.ino.

20 {
21 // tell FastLED there's 60 NEOPIXEL leds on pin 2
22 FastLED.addLeds<NEOPIXEL, 2>(leds[0], NUM_LEDS_PER_STRIP);
23
24 // tell FastLED there's 60 NEOPIXEL leds on pin 3
25 FastLED.addLeds<NEOPIXEL, 3>(leds[1], NUM_LEDS_PER_STRIP);
26
27 // tell FastLED there's 60 NEOPIXEL leds on pin 4
28 FastLED.addLeds<NEOPIXEL, 4>(leds[2], NUM_LEDS_PER_STRIP);
29
30}
fl::CRGB leds[NUM_LEDS]
#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.