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

◆ setup()

void setup ( )

Definition at line 62 of file direct.h.

62 {
63 Serial.begin(115200);
64 auto screenmap = xyMap.toScreenMap();
65 screenmap.setDiameter(.2);
66 FastLED.addLeds<NEOPIXEL, 2>(leds, NUM_LEDS).setScreenMap(screenmap);
67
68}
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.