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:
- 54:2710f0b92766
- Parent:
- 53:4e3ee54157ad
- Child:
- 58:b5f0c0f305ff
--- a/TemperatureController.h Fri Jun 17 12:03:48 2016 +0000
+++ b/TemperatureController.h Fri Jun 17 12:10:08 2016 +0000
@@ -19,13 +19,13 @@
*/
TemperatureController(bool threaded, int interval_ms) : SensorController(threaded, interval_ms) {printf("Initiate Temperature Controller\r\n");}
- /** Overrides getValue() in the Controller class. */
+ /** Returns the Temperature measured (in Celsius) during the last update() */
virtual float getValue();
- /** Overrides update() in the Controller class. */
+ /** Measures the Temperature N times and stores the average value of these measurements. */
virtual void update();
- /** Overrides get_name() in the Controller class. */
+ /** Returns "TemperatureController" */
virtual std::string get_name();
private: