fixed the 'program to big' error by flashing the ESPUI website files to SPIFFS
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user