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

◆ setup()

void setup ( )

Definition at line 40 of file Wave2d.ino.

40 {
41 Serial.begin(115200);
42 FastLED.addLeds<NEOPIXEL, 2>(leds, NUM_LEDS).setScreenMap(xyMap);
43}
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
XYMap xyMap(HEIGHT, WIDTH, SERPENTINE)
LED controller for WS2812 LEDs with GRB color order.
Definition FastLED.h:138

References FastLED, leds, NUM_LEDS, and xyMap.