k

Revision:
3:c850737e6f51
Parent:
2:c705222de18d
--- a/MPL3115.h	Wed Apr 26 00:10:29 2017 +0000
+++ b/MPL3115.h	Fri Jul 30 11:11:40 2021 +0000
@@ -40,6 +40,11 @@
 #define MPL3115_CTRL_REG2 0x27
 #define MPL3115_WHO_AM_I_VALUE 0xC4
 
+#define MPL3115_OUT_T_MSB 0x04
+#define MPL3115_OUT_T_LSB 0x05
+#define MPL3115_BAR_IN_MSB 0x14
+#define MPL3115_BAR_IN_LSB 0x15
+
 class MPL3115
 {
     public:
@@ -48,7 +53,8 @@
       
     void MPL3115_config(void);
         
-    void acquire_MPL3115_data_Altitude_in_m(float * du);
+    void acquire_MPL3115_data_Altitude_in_m(float * du, float * te, char * db);
+//    void acquire_MPL3115_data_Altitude_in_m(float * du);
     
     private:
     I2C MPL3115_i2c;