This commit is contained in:
Julien Cabillot 2019-07-17 19:28:20 -04:00
parent f79574413d
commit 4e57bc9b55

View File

@ -259,15 +259,7 @@ void ledDisplay()
fill_solid(leds, LED_NUM, color);
FastLED.setBrightness(breath);
/* Debug
EVERY_N_SECONDS(1) {
Debug.print(breath);
Debug.print(" | ");
Debug.print(curbrightness);
Debug.print("/");
Debug.println(maxBrightness);
}
*/
fps++;
if (SHOW_FPS) {
EVERY_N_SECONDS(1) {
@ -279,6 +271,16 @@ void ledDisplay()
FastLED.show();
}
/**
* On test déjà à pleine puissance.
*/
void ledDisplayTest()
{
fill_solid(leds, LED_NUM, color);
FastLED.setBrightness(maxBrightness);
FastLED.show();
}
void loop() {
// OTA
ArduinoOTA.handle();
@ -306,7 +308,8 @@ void loop() {
}
}
ledDisplay();
//ledDisplay();
ledDisplayTest();
}
}
}