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: TemperatureSensor.cpp
- Revision:
- 10:b0fd262a0679
- Parent:
- 7:46e65aeb4df2
- Child:
- 13:142a142a7ac5
--- a/TemperatureSensor.cpp Mon Jun 20 10:19:27 2016 +0000
+++ b/TemperatureSensor.cpp Mon Jun 20 22:47:42 2016 +0000
@@ -42,6 +42,7 @@
if(this->_temperature > KELVIN_TO_CELCIUS){
this->_temperature += VARIANCE;
+ this->_temperature += 0.21*this->_temperature - 6.09;
}
this->_status = 0.0;