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

◆ setup()

void setup ( )

Definition at line 64 of file ColorBoost.h.

64 {
65
66 // tell FastLED about the LED strip configuration
67 // First strip (original RGB) - indices 0-199
68
70 .setCorrection(TypicalLEDStrip)
71 .setScreenMap(xyMap);
72 // set master brightness control
73 FastLED.setBrightness(BRIGHTNESS);
74
75 // Set default dropdown selections
76 saturationFunction.setSelectedIndex(1); // "In Quad"
77 luminanceFunction.setSelectedIndex(0); // "None"
78}
CRGB leds[NUM_LEDS]
#define BRIGHTNESS
Definition Blur.ino:8
#define TOTAL_LEDS
Definition ColorBoost.h:53
fl::XYMap xyMap
Definition ColorBoost.h:61
#define DATA_PIN_2
Definition ColorBoost.h:47
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:42
#define LED_TYPE
Definition advanced.h:41
@ TypicalLEDStrip
Typical values for SMD5050 LEDs.
Definition color.h:19

References BRIGHTNESS, COLOR_ORDER, DATA_PIN_2, FastLED, LED_TYPE, leds, luminanceFunction(), saturationFunction(), TOTAL_LEDS, TypicalLEDStrip, and xyMap.

+ Here is the call graph for this function: