you can use LPS25HB sensor on mbed. i2c

Dependents:   read_Pmod optWingforHAPS_Eigen hexaTest_Eigen

Revision:
2:c178d72753dc
Parent:
0:4ea758df868a
--- a/LPS.cpp	Mon Sep 27 09:00:03 2021 +0000
+++ b/LPS.cpp	Thu Sep 01 14:04:43 2022 +0000
@@ -49,6 +49,7 @@
         return true;
         break;
     }
+    return true;
 }
 
 // turns on sensor and enables continuous output