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

◆ setup()

void setup ( )

Definition at line 22 of file Pride2015.ino.

22 {
23 delay(3000); // 3 second delay for recovery
24
25 // tell FastLED about the LED strip configuration
27 .setCorrection(TypicalLEDStrip)
28 .setDither(BRIGHTNESS < 255);
29
30 // set master brightness control
31 FastLED.setBrightness(BRIGHTNESS);
32}
CRGB leds[NUM_LEDS]
Definition Apa102.ino:11
#define NUM_LEDS
Definition Apa102.ino:6
#define BRIGHTNESS
Definition Blur.ino:8
#define COLOR_ORDER
#define LED_TYPE
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:62
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

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