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

◆ setup()

void setup ( )

Definition at line 32 of file RGBWEmulated.ino.

32 {
33 Serial.begin(115200);
34 //FastLED.addLeds<WS2812, DATA_PIN, GRB>(leds, NUM_LEDS).setRgbw(RgbwDefault());
35 FastLED.addLeds(&rgbwEmu, leds, NUM_LEDS);
36 FastLED.setBrightness(128); // Set global brightness to 50%
37 delay(2000); // If something ever goes wrong this delay will allow upload.
38}
CRGB leds[NUM_LEDS]
#define NUM_LEDS
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
Definition FastLED.cpp:74
static RGBWEmulatedController< ControllerT, GRB > rgbwEmu(rgbw)

References FastLED, leds, NUM_LEDS, and rgbwEmu.