20static const int W = 32;
21static const int H = 8;
28 Serial.println(F(
"\n--- PerfDisc AVR Benchmark ---"));
33 const int ITERS = 100;
36 unsigned long t0 = micros();
37 for (
int i = 0; i <
ITERS; i++) {
40 unsigned long t1 = micros();
41 unsigned long bl_r6 = (t1 - t0) /
ITERS;
45 for (
int i = 0; i <
ITERS; i++) {
49 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]
FASTLED_FORCE_INLINE void drawDisc(const RGB_T &color, Coord cx, Coord cy, Coord r, DrawMode mode=DrawMode::DRAW_MODE_BLEND) FL_NO_EXCEPT
Convenience alias for CRGB canvas — use fl::CanvasRGB for no-template syntax.
2D antialiased graphics for LED matrices
@ Blue
<div style='background:#0000FF;width:4em;height:4em;'></div>