dd

Dependencies:   BufferedSerial FastAnalogIn FastPWM mbed SHT75

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers tempsensort.h Source File

tempsensort.h

00001 /*
00002  * tempsensott.h
00003  *
00004  *  Created on: 2016. 2. 19.
00005  *      Author: sbh9428
00006  */
00007 
00008 #ifndef TEMPSENSORT_H_
00009 #define TEMPSENSORT_H_
00010 
00011 #include "FastAnalogIn.h"
00012 
00013 class temp_sensor_t {
00014 public:
00015     float get_temp();
00016 
00017     temp_sensor_t();
00018     temp_sensor_t(AnalogIn* _temperature_sensor);
00019     virtual ~temp_sensor_t();
00020 private:
00021     AnalogIn* temperature_sensor;
00022 };
00023 
00024 #endif /* TEMPSENSOTT_H_ */