Salinity and temperature sensors are implemented in classes.

Dependencies:   mbed

Revision:
13:142a142a7ac5
Parent:
5:4cbe44452889
Child:
15:e112bab9aa2f
--- a/TemperatureSensor.h	Wed Jun 22 12:34:37 2016 +0000
+++ b/TemperatureSensor.h	Wed Jun 22 22:15:33 2016 +0000
@@ -35,6 +35,7 @@
     double getTemperature();
     double getStatus();
     char* getStrStatus();
+    bool inBoundary();
 
 private:
     Printer &_printer;
@@ -48,6 +49,7 @@
     double _k1;
     double _k2;
     double _kelvin_to_celcius;
+    bool _in_boundary;
 };
 
 #endif
\ No newline at end of file