Use a robust asynchronous MQTT client
This commit is contained in:
10
include/sensor.h
Normal file
10
include/sensor.h
Normal 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_
|
||||
Reference in New Issue
Block a user