#define NUM_LEDS 256
Serial.begin(115200);
delay(1000);
}
}
}
for (int i = 0; i < times; i++) {
delay(500);
delay(500);
}
}
delay(50);
uint32_t start = millis();
uint32_t diff = millis() - start;
Serial.print("Time to fill and show for non blocking (ms): ");
Serial.println(diff);
delay(50);
start = millis();
diff = millis() - start;
Serial.print("Time to fill and show for 2nd blocking (ms): ");
Serial.println(diff);
}
void blink(CRGB color, int times)
CFastLED FastLED
Global LED strip management instance.
central include file for FastLED, defines the CFastLED class/object
@ Black
<div style='background:#000000;width:4em;height:4em;'></div>
Representation of an RGB pixel (Red, Green, Blue)