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

◆ setup()

void setup ( )

Definition at line 29 of file ParallelOutputDemo.h.

29 {
30 delay(5000);
31 Serial.begin(57600);
32 Serial.println("Starting...");
33 // FastLED.addLeds<WS2811_PORTA,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP);
34 // FastLED.addLeds<WS2811_PORTB,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP);
35 // FastLED.addLeds<WS2811_PORTD,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip);
36 FastLED.addLeds<WS2811_PORTDC,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP);
37
38 // Teensy 4 parallel output example
39 // FastLED.addLeds<NUM_STRIPS, WS2811, 1>(leds,NUM_LEDS_PER_STRIP);
40}
CRGB leds[NUM_LEDS]
#define NUM_LEDS_PER_STRIP
Definition ColorBoost.h:51
#define NUM_STRIPS
Definition ColorBoost.h:52
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74

References FastLED, leds, NUM_LEDS_PER_STRIP, and NUM_STRIPS.