feat: structures globales config.h + main.cpp initial
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include <Arduino.h>
|
||||
#include "config.h"
|
||||
|
||||
// ── Définitions des variables globales ─────────────────────────────
|
||||
SondeConfig sondesConfig[NB_SONDES] = {
|
||||
{ "T°C Ext", "maison/jardin/ext/temperature", 60000, 0.2f },
|
||||
{ "T°C Serre", "maison/jardin/serre/temperature", 60000, 0.1f },
|
||||
{ "T°C Sol", "maison/jardin/sol/temperature", 60000, 0.1f },
|
||||
};
|
||||
SondeEtat sondesEtat[NB_SONDES] = {};
|
||||
PointHistorique historique[HIST_TAILLE] = {};
|
||||
uint16_t histIdx = 0;
|
||||
NetworkStatus netStatus = {};
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.println("[BOOT] esp_jardin démarrage...");
|
||||
}
|
||||
|
||||
void loop() {
|
||||
}
|
||||
Reference in New Issue
Block a user