Mario Simaremare / Mbed 2 deprecated g3_waterplay

Dependencies:   mbed

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;