#include #include "network.h" #include "ota.h" #include "wifimanager.h" Network* network = nullptr; OTAHandler* otaHandler = nullptr; void setup() { // put your setup code here, to run once: Serial.begin(115200); Serial.println("Starting Smart RGB ESP32..."); network = new Network("smart-rgb"); otaHandler = new OTAHandler("smart-rgb-ota"); network->registerMDNS(); } void loop() { otaHandler->poll(); // Handle OTA updates delay(500); }