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

◆ setup()

void setup ( )

Definition at line 26 of file FxPride2015.ino.

26 {
28
29 // tell FastLED about the LED strip configuration
31 .setCorrection(TypicalLEDStrip)
32 .setScreenMap(screenMap)
33 .setDither(BRIGHTNESS < 255);
34
35 // set master brightness control
36 FastLED.setBrightness(BRIGHTNESS);
37}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
#define DATA_PIN
#define BRIGHTNESS
Definition Blur.ino:8
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
#define COLOR_ORDER
Definition advanced.h:42
#define LED_TYPE
Definition advanced.h:41
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f)
Definition screenmap.h:40
fl::ScreenMap screenMap
Definition Corkscrew.h:103
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

References BRIGHTNESS, COLOR_ORDER, DATA_PIN, fl::ScreenMap::DefaultStrip(), FastLED, LED_TYPE, leds, NUM_LEDS, screenMap, and TypicalLEDStrip.

+ Here is the call graph for this function: