Use a robust asynchronous MQTT client

This commit is contained in:
2026-03-11 20:49:38 +01:00
parent 1dcd9c8f0a
commit 2620d05f49
8 changed files with 147 additions and 124 deletions

10
include/sensor.h Normal file
View File

@@ -0,0 +1,10 @@
#ifndef SENSOR_H_
#define SENSOR_H_
#include <DHT.h>
void initialize_sensor(DHT &sensor);
void read_values(DHT &sensor, float *data);
#endif // SENSOR_H_