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

◆ setup()

void setup ( )

Definition at line 36 of file Blur2d.ino.

36 {
37 FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS)
38 .setScreenMap(xymap); // Necessary when using the FastLED web compiler to display properly on a web page.
39 FastLED.setBrightness(BRIGHTNESS);
40 Serial.println("setup");
41}
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define BRIGHTNESS
XYMap xymap
#define DATA_PIN
Definition ClientReal.h:82
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
constexpr EOrder GRB
Definition eorder.h:19
#define Serial
Definition serial.h:304

References BRIGHTNESS, DATA_PIN, FastLED, GRB, leds, NUM_LEDS, Serial, and xymap.