dd
Dependencies: BufferedSerial FastAnalogIn FastPWM mbed SHT75
peltiert.h
00001 /* 00002 * peltiert.h 00003 * 00004 * Created on: 2016. 2. 19. 00005 * Author: sbh9428 00006 */ 00007 00008 #ifndef PELTIERT_H_ 00009 #define PELTIERT_H_ 00010 00011 #include "FastPWM.h" 00012 00013 class peltier_t { 00014 public: 00015 void set_PWM(float duty_ratio); 00016 00017 peltier_t(); 00018 peltier_t(FastPWM* _peltier_pin, DigitalOut* _direction_pin); 00019 virtual ~peltier_t(); 00020 private: 00021 FastPWM* peltier_pin; 00022 DigitalOut* direction_pin; 00023 }; 00024 00025 #endif /* PELTIERT_H_ */
Generated on Tue Jul 12 2022 21:44:12 by 1.7.2