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

◆ setup()

void setup ( )

Definition at line 52 of file FxAnimartrix.ino.

52 {
53 auto screen_map = xyMap.toScreenMap();
54 screen_map.setDiameter(.1);
56 .setCorrection(TypicalLEDStrip)
57 .setScreenMap(screen_map);
58 FastLED.setBrightness(brightness);
59 fxEngine.addFx(animartrix);
60}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
XYMap xyMap(WIDTH, HEIGHT, false)
#define COLOR_ORDER
#define LED_PIN
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
UISlider brightness("Brightness", 255, 0, 255, 1)
FxEngine fxEngine(NUM_LEDS)
Animartrix animartrix(xyMap, FIRST_ANIMATION)
WS2811 controller class.
Definition FastLED.h:258
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

References animartrix, brightness, COLOR_ORDER, FastLED, fxEngine, LED_PIN, leds, NUM_LEDS, TypicalLEDStrip, and xyMap.