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.
Diff: Thermostat.cpp
- Revision:
- 14:6c24cab82ff0
- Parent:
- 13:142a142a7ac5
--- a/Thermostat.cpp Wed Jun 22 22:15:33 2016 +0000
+++ b/Thermostat.cpp Fri Jun 24 13:46:52 2016 +0000
@@ -18,10 +18,11 @@
{
}
-int Thermostat::update(){
+int Thermostat::update()
+{
this->_analog_out = this->_status;
this->_led = this->_status;
-
+
return(this->_status);
}
@@ -53,6 +54,7 @@
return(retVal);
}
-char* Thermostat::getStrStatus(){
+char* Thermostat::getStrStatus()
+{
return(this->_strStatus);
}
\ No newline at end of file