Saltware / Mbed 2 deprecated Water Play

Dependencies:   mbed DRV88255 TextLCD Ping mbed-rtos

Revision:
13:1323e2c0b697
Parent:
10:fd4670ec0806
Child:
35:c9261391a995
--- a/TemperatureController.h	Sat Jun 11 10:14:40 2016 +0000
+++ b/TemperatureController.h	Sat Jun 11 13:19:20 2016 +0000
@@ -17,15 +17,21 @@
         virtual void update();
         
         virtual std::string get_name();
+        
+        bool is_heating();
+        
+        void set_heating(bool enabled);
     
     private:
         float temperature;
+        
+        bool heating;
     
         static float readSensor();
         
         static float analoginToCelsius(float);
         
-        static void controlHeater();
+        void controlHeater();
         
         static float getOffset(float);