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