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

◆ setup()

void setup ( )

Definition at line 18 of file ArrayOfLedArrays.ino.

18 {
19 // tell FastLED there's 60 NEOPIXEL leds on pin 2
20 FastLED.addLeds<NEOPIXEL, 2>(leds[0], NUM_LEDS_PER_STRIP);
21
22 // tell FastLED there's 60 NEOPIXEL leds on pin 3
23 FastLED.addLeds<NEOPIXEL, 3>(leds[1], NUM_LEDS_PER_STRIP);
24
25 // tell FastLED there's 60 NEOPIXEL leds on pin 4
26 FastLED.addLeds<NEOPIXEL, 4>(leds[2], NUM_LEDS_PER_STRIP);
27
28}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS_PER_STRIP
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
LED controller for WS2812 LEDs with GRB color order.
Definition FastLED.h:138

References FastLED, leds, and NUM_LEDS_PER_STRIP.