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

◆ setup()

void setup ( )

Definition at line 16 of file FxPride2015.ino.

16 {
18
19 // tell FastLED about the LED strip configuration
21 .setCorrection(TypicalLEDStrip)
22 .setScreenMap(screenMap)
23 .setDither(BRIGHTNESS < 255);
24
25 // set master brightness control
26 FastLED.setBrightness(BRIGHTNESS);
27}
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
CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:58
fl::ScreenMap screenMap
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f)
Definition screenmap.h:33
@ 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: