dd

Dependencies:   BufferedSerial FastAnalogIn FastPWM mbed SHT75

tempsensort.h

Committer:
sbh9428
Date:
2016-02-22
Revision:
1:5c42ec7f1aeb
Parent:
0:9bfc4aea91e2

File content as of revision 1:5c42ec7f1aeb:

/*
 * 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_ */