Use color red on update, do not use full brightness
This commit is contained in:
parent
ef90dba737
commit
ffdfa891ad
esp-wemos-schild
|
@ -158,7 +158,7 @@ void setup() {
|
||||||
pixels.clear();
|
pixels.clear();
|
||||||
});
|
});
|
||||||
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
|
ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) {
|
||||||
pixels.setPixelColor(progress / (total / NUMPIXELS), pixels.Color(255, 255, 255));
|
pixels.setPixelColor(progress / (total / NUMPIXELS), pixels.Color(100, 0, 0));
|
||||||
pixels.show();
|
pixels.show();
|
||||||
});
|
});
|
||||||
ArduinoOTA.begin();
|
ArduinoOTA.begin();
|
||||||
|
|
Loading…
Reference in New Issue