dd

Dependencies:   BufferedSerial FastAnalogIn FastPWM mbed SHT75

peltiert.h

Committer:
sbh9428
Date:
2016-07-11
Revision:
10:c751a0e8b7f9
Parent:
0:9bfc4aea91e2

File content as of revision 10:c751a0e8b7f9:

/*
 * peltiert.h
 *
 *  Created on: 2016. 2. 19.
 *      Author: sbh9428
 */

#ifndef PELTIERT_H_
#define PELTIERT_H_

#include "FastPWM.h"

class peltier_t {
public:
	void set_PWM(float duty_ratio);
	
	peltier_t();
	peltier_t(FastPWM* _peltier_pin, DigitalOut* _direction_pin);
	virtual ~peltier_t();
private:
	FastPWM* peltier_pin;
	DigitalOut* direction_pin;
};

#endif /* PELTIERT_H_ */