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

◆ setup()

void setup ( )

Definition at line 53 of file FxEngine.ino.

53 {
54 delay(1000); // sanity delay
56 .setCorrection(TypicalLEDStrip)
57 .setScreenMap(MATRIX_WIDTH, MATRIX_HEIGHT);
58 FastLED.setBrightness(96);
59 noisePalette1.setPalettePreset(2);
60 noisePalette2.setPalettePreset(4);
63}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
#define MATRIX_HEIGHT
Definition EaseInOut.h:19
#define MATRIX_WIDTH
Definition EaseInOut.h:18
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
NoisePalette noisePalette2(xyMap)
NoisePalette noisePalette1(xyMap)
#define COLOR_ORDER
Definition advanced.h:42
#define LED_TYPE
Definition advanced.h:41
#define LED_PIN
Definition advanced.h:40
fl::unique_ptr< FxEngine > fxEngine
Definition curr.h:299
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

References COLOR_ORDER, FastLED, fxEngine, LED_PIN, LED_TYPE, leds, MATRIX_HEIGHT, MATRIX_WIDTH, noisePalette1, noisePalette2, NUM_LEDS, and TypicalLEDStrip.