Repository for import to local machine
Dependencies: DMBasicGUI DMSupport
Diff: GCHeatControl.h
- Revision:
- 0:47c880c1463d
- Child:
- 1:a5258871b33d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GCHeatControl.h Wed Jan 13 13:17:05 2016 +0000 @@ -0,0 +1,32 @@ +#ifndef GCHEATCONTROL_H +#define GCHEATCONTROL_H + +#include "mbed.h" +#include "DMBoard.h" + +#include "USBHostGC.h" + +//#define DEBUG_TEST // Use local flag only + +class GCHeatControl +{ +public: + GCHeatControl(USBDeviceConnected* newUsbDevice, USBHostGC* newUsbHostGC); + + bool TurnHeatOn(void); + + bool TurnHeatOff(void); + + bool IsHeatOn(void); + +private: + USBDeviceConnected* usbDevice; + USBHostGC* usbHostGC; + +#ifdef DEBUG_TEST + bool heatIsOn; +#endif +}; + + +#endif // GCHEATCONTROL_H \ No newline at end of file