1
0

changed deviceId from Integer to String/CHAR(6)

This commit is contained in:
Jose
2025-05-08 18:23:12 +02:00
parent 5665cb3e5e
commit b6f13cfff8
29 changed files with 445 additions and 248 deletions

View File

@@ -20,7 +20,8 @@
#include "MAX7219.hpp"
#include "MQ7v2.hpp"
struct TaskTimer {
struct TaskTimer
{
uint32_t lastRun = 0;
uint32_t interval = 1000;
@@ -30,7 +31,14 @@ struct TaskTimer {
: lastRun(last), interval(interval) {}
};
enum AirQualityStatus {
struct SensorInfo
{
int id;
String type;
};
enum AirQualityStatus
{
GOOD,
BAD
};