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

◆ setup()

void setup ( )

Definition at line 37 of file FxDemoReel100.ino.

37 {
39
40 // tell FastLED about the LED strip configuration
42 .setCorrection(TypicalLEDStrip)
43 .setScreenMap(screenMap)
44 .setRgbw(rgbwMode);
45
46 // set master brightness control
47 FastLED.setBrightness(BRIGHTNESS);
48}
#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.
fl::Rgbw rgbwMode
#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, rgbwMode, screenMap, and TypicalLEDStrip.

+ Here is the call graph for this function: