Mario Simaremare / Mbed 2 deprecated g3_waterplay

Dependencies:   mbed

Revision:
2:ed17e258da0d
Parent:
1:f448c12d2c5b
Child:
3:7c648d1d8802
diff -r f448c12d2c5b -r ed17e258da0d SalinitySensor.h
--- a/SalinitySensor.h	Tue Jun 07 10:21:07 2016 +0000
+++ b/SalinitySensor.h	Tue Jun 14 09:14:24 2016 +0000
@@ -15,11 +15,15 @@
         PinName pin,
         double const_voltage,
         double const_converter,
-        double const_multiplier
+        double const_multiplier,
+        double const_lower_boundary,
+        double const_upper_boundary
     );
-    double read();
+    void reload();
+    double getReading();
     double getVoltage();
     double getSalinity();
+    double getStatus();
 
 private:
     Serial &_serial;
@@ -27,9 +31,12 @@
     double _const_voltage;
     double _const_converter;
     double _const_multiplier;
+    double _const_lower_boundary;
+    double _const_upper_boundary;
     double _reading;
     double _voltage;
     double _salinity;
+    double _status;
 };
 
 #endif
\ No newline at end of file