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

◆ setup()

void setup ( )

Definition at line 69 of file FireCylinder.ino.

69 {
70 Serial.begin(115200);
71 FastLED.addLeds<NEOPIXEL, 3>(leds, HEIGHT * WIDTH).setScreenMap(xyMap);
72 FastLED.setCorrection(TypicalLEDStrip);
73}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define WIDTH
Definition Audio.ino:33
#define HEIGHT
Definition Audio.ino:32
XYMap xyMap(WIDTH, HEIGHT, false)
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
LED controller for WS2812 LEDs with GRB color order.
Definition FastLED.h:155
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

References FastLED, HEIGHT, leds, TypicalLEDStrip, WIDTH, and xyMap.