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

◆ setup()

void setup ( )

Definition at line 73 of file FlowField.ino.

73 {
74 Serial.begin(115200);
75 FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS)
76 .setScreenMap(xyMap);
77 FastLED.setBrightness(BRIGHTNESS);
78}
fl::XYMap xyMap
#define NUM_LEDS
fl::CRGB leds[NUM_LEDS]
#define BRIGHTNESS
#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.