byeongho song / Mbed 2 deprecated hum

Dependencies:   BufferedSerial FastPWM mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers humsensort.h Source File

humsensort.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 "mbed.h"
00012 class humSensor_t {
00013 public:
00014     float getHumidity();
00015 
00016     humSensor_t();
00017     humSensor_t(AnalogIn* _Humidityensor);
00018     virtual ~humSensor_t();
00019 private:
00020     AnalogIn* humiditySensor;
00021 };
00022 
00023 #endif /* TEMPSENSOTT_H_ */