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

◆ setup()

void setup ( )

Definition at line 27 of file FxPride2015.ino.

27 {
29
30 // tell FastLED about the LED strip configuration
32 .setCorrection(TypicalLEDStrip)
33 .setScreenMap(screenMap)
34 .setDither(BRIGHTNESS < 255);
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
static ScreenMap DefaultStrip(int numLeds, float cm_between_leds=1.5f, float cm_led_diameter=0.2f, float completion=.9f) FL_NOEXCEPT
fl::ScreenMap screenMap
Definition Corkscrew.h:101
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:15

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: