mini glider FSG

Fork of MS5837 by POTLESS

Revision:
1:a8eea2a2263f
Parent:
0:5f6034409fd0
--- a/MS5837.h	Sun May 28 10:29:51 2017 +0000
+++ b/MS5837.h	Mon Aug 13 18:48:45 2018 +0000
@@ -35,7 +35,7 @@
 class MS5837{
 private:
     int D1, D2, Temp, C[8];
-    float T_MS5837, P_MS5837;
+    float T_MS5837, P_MS5837,depth_iter,depth;
     /* Data buffers */
     char ms5837_rx_data[MS5837_RX_DEPTH];
     char ms5837_tx_data[MS5837_TX_DEPTH];
@@ -54,7 +54,9 @@
     float MS5837_Pressure (void);
     float MS5837_Temperature (void);
     void Barometer_MS5837(void);
-    float depth(void);
+    float get_depth(void);
+    float get_depth_initial(void);
+    float Depth_0;
 
 private:
     I2C     i2c;