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

◆ setup()

void setup ( )

Definition at line 23 of file EspI2SDemo.ino.

23 {
24 // Uncomment/edit one of the following lines for your leds arrangement.
25 // ## Clockless types ##
26 FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS); // GRB ordering is assumed
27}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
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 DATA_PIN, FastLED, leds, and NUM_LEDS.