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

◆ setup()

void setup ( )

Definition at line 27 of file ParallelOutputDemo.ino.

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

References FastLED, leds, NUM_LEDS_PER_STRIP, and NUM_STRIPS.