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

◆ setup()

void setup ( )

Definition at line 19 of file MultipleStripsInOneArray.ino.

19 {
20 // tell FastLED there's 60 NEOPIXEL leds on pin 2, starting at index 0 in the led array
21 FastLED.addLeds<NEOPIXEL, 2>(leds, 0, NUM_LEDS_PER_STRIP);
22
23 // tell FastLED there's 60 NEOPIXEL leds on pin 3, starting at index 60 in the led array
25
26 // tell FastLED there's 60 NEOPIXEL leds on pin 4, starting at index 120 in the led array
28
29}
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.