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

◆ setup()

void setup ( )

Definition at line 60 of file ColorBoost.h.

60 {
61
62 // tell FastLED about the LED strip configuration
64 .setCorrection(TypicalLEDStrip)
65 .setScreenMap(xyMap);
66 // set master brightness control
67 FastLED.setBrightness(BRIGHTNESS);
68
69 // Set default dropdown selections
70 saturationFunction.setSelectedIndex(1); // "In Quad"
71 luminanceFunction.setSelectedIndex(0); // "None"
72}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
#define DATA_PIN
#define BRIGHTNESS
Definition Blur.ino:8
fl::XYMap xyMap
Definition ColorBoost.h:57
UIDropdown luminanceFunction("Luminance Function", easeOptions)
UIDropdown saturationFunction("Saturation Function", easeOptions)
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:40
#define LED_TYPE
Definition advanced.h:39
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

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: