Program for the water play project for the course Software Testing Practical 2016 given at the VU University
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
TemperatureController.h
- Committer:
- sbouber1
- Date:
- 2016-06-10
- Revision:
- 8:24b057cbcb53
- Parent:
- 6:067e999b9c6e
- Child:
- 10:fd4670ec0806
File content as of revision 8:24b057cbcb53:
#ifndef __TEMPERATURECONTROLLER_H__ #define __TEMPERATURECONTROLLER_H__ #include "mbed.h" #include "stdio.h" #include "Controller.h" #define N 50 class TemperatureController : public Controller { public: TemperatureController(); virtual float getValue(); virtual void update(); private: float temperature; static float readSensor(); static float analoginToCelsius(float); static void controlHeater(); static float getOffset(float); static void displayTemperature(); }; #endif