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

◆ setup()

void setup ( )

Definition at line 20 of file WS2816.ino.

20 {
21 // Uncomment/edit one of the following lines for your leds arrangement.
22 // ## Clockless types ##
23 FastLED.addLeds<WS2816, DATA_PIN>(leds, NUM_LEDS); // GRB ordering is assumed
24}
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
WS2816 controller class.
Definition FastLED.h:201

References DATA_PIN, FastLED, leds, and NUM_LEDS.