Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed DRV88255 TextLCD Ping mbed-rtos
Diff: TemperatureController.h
- Revision:
- 1:eb527bc93b62
- Parent:
- 0:dab140a197e0
- Child:
- 6:067e999b9c6e
--- a/TemperatureController.h Fri Jun 03 14:24:25 2016 +0000
+++ b/TemperatureController.h Mon Jun 06 11:59:23 2016 +0000
@@ -2,6 +2,7 @@
#define __TEMPERATURECONTROLLER_H__
#include "mbed.h"
+#include "stdio.h"
#define N 50
@@ -9,11 +10,14 @@
public:
TemperatureController();
- static void displayCelsius();
+ static void displayTemperature();
+ static void controlHeater();
private:
static float readSensor();
- static float analoginToCelsius(float analogin_value);
+ static float analoginToCelsius(float);
+
+ static float getOffset(float);
};
#endif
\ No newline at end of file