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

◆ setup()

void setup ( )

Definition at line 58 of file ColorBoost.h.

58 {
59
60 // tell FastLED about the LED strip configuration
62 .setCorrection(TypicalLEDStrip)
63 .setScreenMap(xyMap);
64 // set master brightness control
65 FastLED.setBrightness(BRIGHTNESS);
66
67 // Set default dropdown selections
68 saturationFunction.setSelectedIndex(1); // "In Quad"
69 luminanceFunction.setSelectedIndex(0); // "None"
70}
#define COLOR_ORDER
fl::XYMap xyMap
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define BRIGHTNESS
#define DATA_PIN
Definition ClientReal.h:82
fl::UIDropdown saturationFunction("Saturation Function", easeOptions)
fl::UIDropdown luminanceFunction("Luminance Function", easeOptions)
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
#define LED_TYPE
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:15

References BRIGHTNESS, COLOR_ORDER, DATA_PIN, FastLED, LED_TYPE, leds, luminanceFunction(), NUM_LEDS, saturationFunction(), TypicalLEDStrip, and xyMap.

+ Here is the call graph for this function: