Windows. Everything now is implemented in Windows. ;-) (Okay, just the drawing stuff. And defnititely nothing by Microsoft.)

This commit is contained in:
2019-06-11 19:48:09 +02:00
parent 9acdc42dc3
commit 83254f2eaa
25 changed files with 223 additions and 223 deletions

View File

@ -4,9 +4,10 @@
#include "prototypes.h"
void ConfettiEffect::loop() {
fadeToBlackBy(leds, LED_COUNT, 1);
window->fadeToBlackBy(3);
for (int i=0; i<EFFECT_CONFETTI_PIXELS_PER_LOOP; i++) {
addPixelColor(random16(LED_COUNT), CHSV(baseHue + random8(64), 200, 255));
CRGB color(CHSV(baseHue + random8(64), 200, 255));
window->addPixelColor(random16(LED_COUNT), &color);
}
}