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

◆ setup()

void setup ( )

Definition at line 56 of file direct.h.

56 {
57 Serial.begin(115200);
58 auto screenmap = xyMap.toScreenMap();
59 screenmap.setDiameter(.2);
60 FastLED.addLeds<NEOPIXEL, 2>(leds, NUM_LEDS).setScreenMap(screenmap);
61}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:62
LED controller for WS2812 LEDs with GRB color order.
Definition FastLED.h:155
XYMap xyMap
Definition gfx.cpp:8

References FastLED, leds, NUM_LEDS, and xyMap.