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

◆ setup()

void setup ( )

Definition at line 100 of file MirroringSample.ino.

100 {
101 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_1
102 FastLED.addLeds<NEOPIXEL, PIN_1>(leds, NUM_LEDS_PER_STRIP);
103
104 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_2
105 FastLED.addLeds<NEOPIXEL, PIN_2>(leds, NUM_LEDS_PER_STRIP);
106
107 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_3
108 FastLED.addLeds<NEOPIXEL, PIN_3>(leds, NUM_LEDS_PER_STRIP);
109
110 // tell FastLED there's 60 NEOPIXEL leds on pin PIN_4
111 FastLED.addLeds<NEOPIXEL, PIN_4>(leds, NUM_LEDS_PER_STRIP);
112}
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.
#define PIN_1
#define PIN_2
#define PIN_4
#define PIN_3

References FastLED, leds, NUM_LEDS_PER_STRIP, PIN_1, PIN_2, PIN_3, and PIN_4.