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

◆ setup()

void setup ( )

Definition at line 29 of file DemoReel100.ino.

29 {
30 delay(3000); // 3 second delay for recovery
31
32 // tell FastLED about the LED strip configuration
34 //FastLED.addLeds<LED_TYPE,DATA_PIN,CLK_PIN,COLOR_ORDER>(leds, NUM_LEDS).setCorrection(TypicalLEDStrip);
35
36 // set master brightness control
37 FastLED.setBrightness(BRIGHTNESS);
38}
#define COLOR_ORDER
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define BRIGHTNESS
#define DATA_PIN
Definition ClientReal.h:82
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
#define LED_TYPE
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:15
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98

References BRIGHTNESS, COLOR_ORDER, DATA_PIN, FastLED, LED_TYPE, leds, NUM_LEDS, and TypicalLEDStrip.