#include <FastLED.h>
#define NUM_LEDS 1
#ifndef PIN_DATA
#define PIN_DATA 3
#endif
delay(500);
Serial.println(F(
"\n--- PerfDisc AVR Benchmark ---"));
}
unsigned long t0 = micros();
for (
int i = 0; i <
ITERS; i++) {
}
unsigned long bl_r6 = (t1 - t0) /
ITERS;
for (
int i = 0; i <
ITERS; i++) {
}
unsigned long bl_r10 = (t1 - t0) /
ITERS;
}
FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_GLOBAL_CONSTRUCTORS CFastLED FastLED
Global LED strip management instance.
static CRGB canvas_buf[W *H]
Convenience alias for CRGB canvas — use fl::CanvasRGB for no-template syntax.
2D antialiased graphics for LED matrices
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...
fl::u32 micros()
Universal microsecond timer - returns microseconds since system startup.
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>