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

◆ setup()

void setup ( )

Definition at line 56 of file simple.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
62}
fl::XYMap xyMap
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
fl::ScreenMap screenmap
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
#define Serial
Definition serial.h:304

References FastLED, leds, NUM_LEDS, screenmap, Serial, and xyMap.