Code for sensor nodes connected by radio receiver with gateway
Dependencies: mbed WakeUp coapRadioClient DHT11
humidityMeter.h
- Committer:
- Ka_myk
- Date:
- 2019-01-25
- Revision:
- 3:4ffffdb5230f
- Parent:
- 0:4c0d384fd5cf
File content as of revision 3:4ffffdb5230f:
// // Created by Kamil Mykitiuk on 2019-01-21. // #ifndef SLAVE_HUMIDITYMETER_H #define SLAVE_HUMIDITYMETER_H #include "DHT11.h" #include "sensor.h" class HumidityMeter : public Sensor { private: DHT11* dht; public: HumidityMeter(DHT11* dht) : dht(dht) {} int read(); int getSensorId(); void initialize(); }; #endif //SLAVE_HUMIDITYMETER_H