feat: module capteurs DS18B20 — acquisition non-bloquante, buffer circulaire 24h
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include <Arduino.h>
|
||||
#include "config.h"
|
||||
#include "network.h"
|
||||
#include "sensors.h"
|
||||
|
||||
SondeConfig sondesConfig[NB_SONDES] = {
|
||||
{ "T°C Ext", "maison/jardin/ext/temperature", 60000, 0.2f },
|
||||
@@ -16,8 +17,10 @@ void setup() {
|
||||
Serial.begin(115200);
|
||||
Serial.println("[BOOT] esp_jardin démarrage...");
|
||||
network_init();
|
||||
sensors_init();
|
||||
}
|
||||
|
||||
void loop() {
|
||||
network_update();
|
||||
sensors_update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user