This commit is contained in:
Stephan Mühl
2023-04-03 14:28:00 +02:00
parent 08f847314a
commit 0ca49bd407
2 changed files with 10 additions and 6 deletions

View File

@@ -51,6 +51,11 @@ void loadDevSettings()
BOOT_SOUND = doc["bootsound"].as<String>();
}
if (doc.containsKey("matrix"))
{
MATRIX_LAYOUT = doc["matrix"];
}
if (doc.containsKey("bootsound"))
{
UPPERCASE_LETTERS = doc["uppercase"].as<bool>();

View File

@@ -59,11 +59,10 @@ void BootAnimation(void *parameter)
void setup()
{
PeripheryManager.setup();
delay(1000);
Serial.begin(115200);
loadSettings();
Serial.begin(9600);
PeripheryManager.setup();
delay(500);
ServerManager.loadSettings();
DisplayManager.setup();
DisplayManager.HSVtext(9, 6, VERSION, true);