19static const int W = 32;
20static const int H = 8;
27 Serial.println(F(
"\n--- PerfDisc AVR Benchmark ---"));
32 const int ITERS = 100;
35 unsigned long t0 = micros();
36 for (
int i = 0; i <
ITERS; i++) {
39 unsigned long t1 = micros();
40 unsigned long bl_r6 = (t1 - t0) /
ITERS;
44 for (
int i = 0; i <
ITERS; i++) {
48 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)
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>