dd

Dependencies:   BufferedSerial FastAnalogIn FastPWM mbed SHT75

tempsensort.h

Committer:
sbh9428
Date:
2016-07-11
Revision:
10:c751a0e8b7f9
Parent:
1:5c42ec7f1aeb

File content as of revision 10:c751a0e8b7f9:

/*
 * 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(AnalogIn* _temperature_sensor);
	virtual ~temp_sensor_t();
private:
	AnalogIn* temperature_sensor;
};

#endif /* TEMPSENSOTT_H_ */