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

◆ setup()

void setup ( )

Definition at line 23 of file PerfDisc.ino.

23 {
24 Serial.begin(115200);
25 FastLED.addLeds<NEOPIXEL, PIN_DATA>(leds, NUM_LEDS);
26 delay(500);
27 Serial.println(F("\n--- PerfDisc AVR Benchmark ---"));
28}
#define NUM_LEDS
#define PIN_DATA
fl::CRGB leds[NUM_LEDS]
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
void delay(u32 ms, bool run_async=true) FL_NOEXCEPT
Public delay wrapper that keeps bare Arduino delay() preferred after using fl::delay; while still all...
Definition delay.h:98
#define Serial
Definition serial.h:304

References FastLED, leds, NUM_LEDS, PIN_DATA, and Serial.