FastLED 3.9.15
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages

◆ setup()

void setup ( )

Definition at line 30 of file RGBWEmulated.ino.

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

References FastLED, leds, NUM_LEDS, and rgbwEmu.