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

◆ setup()

void setup ( )

Definition at line 160 of file MultiArrays.ino.

160 {
161 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_RED
162 FastLED.addLeds<NEOPIXEL, PIN_RED>(redLeds, NUM_LEDS_PER_STRIP);
163
164 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_GREEN
165 FastLED.addLeds<NEOPIXEL, PIN_GREEN>(greenLeds, NUM_LEDS_PER_STRIP);
166
167 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_BLUE
168 FastLED.addLeds<NEOPIXEL, PIN_BLUE>(blueLeds, NUM_LEDS_PER_STRIP);
169
170}
#define NUM_LEDS_PER_STRIP
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
CRGB blueLeds[NUM_LEDS_PER_STRIP]
#define PIN_GREEN
CRGB greenLeds[NUM_LEDS_PER_STRIP]
#define PIN_BLUE
CRGB redLeds[NUM_LEDS_PER_STRIP]
#define PIN_RED

References blueLeds, FastLED, greenLeds, NUM_LEDS_PER_STRIP, PIN_BLUE, PIN_GREEN, PIN_RED, and redLeds.