29 lines
342 B
C++
29 lines
342 B
C++
#ifndef SENSOR3_DHT_H
|
|
#define SENSOR3_DHT_H
|
|
|
|
#include "base.h"
|
|
|
|
class DHT {
|
|
|
|
private:
|
|
|
|
const int pin;
|
|
|
|
public:
|
|
|
|
explicit DHT(const int pin) : pin(pin) {
|
|
// nothing
|
|
}
|
|
|
|
void begin() {
|
|
// TODO
|
|
}
|
|
|
|
void loop(float *temperatureCelsius, uint8_t *humidityRelativePercent, float *humidityAbsoluteMgL) {
|
|
// TODO
|
|
}
|
|
|
|
};
|
|
|
|
#endif
|