SYNC WIP
This commit is contained in:
parent
f79574413d
commit
4e57bc9b55
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user