fixed the 'program to big' error by flashing the ESPUI website files to SPIFFS

This commit is contained in:
2026-01-20 12:49:24 +01:00
parent d3586e697b
commit 153d134f88

View File

@@ -1,3 +1,12 @@
//
// IMPORTANT:
// before flashing this the first time,
// upload the "prepareFilesystem.ino" example sketch from ESPUI
// without that critical files are missing
//
// This was done to reduce the PROGMEM footprint of this program
//
#include <Arduino.h> #include <Arduino.h>
#include <WiFi.h> #include <WiFi.h>
#include <WiFiManager.h> #include <WiFiManager.h>
@@ -48,7 +57,7 @@ void setup() {
uiInit(tabSettings, tabLighting, tabCalibration); uiInit(tabSettings, tabLighting, tabCalibration);
ESPUI.sliderContinuous = true; // enables live slider updates ESPUI.sliderContinuous = true; // enables live slider updates
ESPUI.begin("Analog Monitor UI"); ESPUI.beginLITTLEFS("Analog System Monitor UI");
} }
void loop() { void loop() {