dd

Dependencies:   BufferedSerial FastAnalogIn FastPWM mbed SHT75

Committer:
sbh9428
Date:
Fri Feb 19 07:07:26 2016 +0000
Revision:
0:9bfc4aea91e2
Child:
1:5c42ec7f1aeb
temp;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sbh9428 0:9bfc4aea91e2 1 /*
sbh9428 0:9bfc4aea91e2 2 * tempsensott.h
sbh9428 0:9bfc4aea91e2 3 *
sbh9428 0:9bfc4aea91e2 4 * Created on: 2016. 2. 19.
sbh9428 0:9bfc4aea91e2 5 * Author: sbh9428
sbh9428 0:9bfc4aea91e2 6 */
sbh9428 0:9bfc4aea91e2 7
sbh9428 0:9bfc4aea91e2 8 #ifndef TEMPSENSORT_H_
sbh9428 0:9bfc4aea91e2 9 #define TEMPSENSORT_H_
sbh9428 0:9bfc4aea91e2 10
sbh9428 0:9bfc4aea91e2 11 #include "FastAnalogIn.h"
sbh9428 0:9bfc4aea91e2 12
sbh9428 0:9bfc4aea91e2 13 class temp_sensor_t {
sbh9428 0:9bfc4aea91e2 14 public:
sbh9428 0:9bfc4aea91e2 15 float get_temp();
sbh9428 0:9bfc4aea91e2 16
sbh9428 0:9bfc4aea91e2 17 temp_sensor_t();
sbh9428 0:9bfc4aea91e2 18 temp_sensor_t(FastAnalogIn* _temperature_sensor);
sbh9428 0:9bfc4aea91e2 19 virtual ~temp_sensor_t();
sbh9428 0:9bfc4aea91e2 20 private:
sbh9428 0:9bfc4aea91e2 21 FastAnalogIn* temperature_sensor;
sbh9428 0:9bfc4aea91e2 22 };
sbh9428 0:9bfc4aea91e2 23
sbh9428 0:9bfc4aea91e2 24 #endif /* TEMPSENSOTT_H_ */