dd
Dependencies: BufferedSerial FastAnalogIn FastPWM mbed SHT75
Diff: tempsensort.h
- Revision:
- 0:9bfc4aea91e2
- Child:
- 1:5c42ec7f1aeb
diff -r 000000000000 -r 9bfc4aea91e2 tempsensort.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tempsensort.h Fri Feb 19 07:07:26 2016 +0000 @@ -0,0 +1,24 @@ +/* + * tempsensott.h + * + * Created on: 2016. 2. 19. + * Author: sbh9428 + */ + +#ifndef TEMPSENSORT_H_ +#define TEMPSENSORT_H_ + +#include "FastAnalogIn.h" + +class temp_sensor_t { +public: + float get_temp(); + + temp_sensor_t(); + temp_sensor_t(FastAnalogIn* _temperature_sensor); + virtual ~temp_sensor_t(); +private: + FastAnalogIn* temperature_sensor; +}; + +#endif /* TEMPSENSOTT_H_ */