improve debug

This commit is contained in:
2025-08-29 11:46:17 +02:00
parent b2ee44dd60
commit d630a7ea5f
6 changed files with 55 additions and 19 deletions

View File

@@ -1,6 +1,7 @@
#include <Arduino.h>
#include "appcontext.hpp"
#include "config.h"
#include "debugutil.hpp"
#include "light.h"
#include "mqtt.h"
#include "network.h"
@@ -41,9 +42,8 @@ Scheduler *scheduler = nullptr;
void initializeScheduler();
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Starting Smart RGB ESP32...");
Debug::begin(115200);
Debug::println("Starting Smart RGB ESP32...");
stateMachine = new StateMachine<maxNumberOfStates>();
initializeScheduler();
appContext->pinR = pinR;