STMicroelectronics barometric pressure sensor library. This library modified from KenjiArai's LPS25H library.

Fork of LPS25H by Kenji Arai

Revision:
5:5f8c19996d44
Parent:
4:50be6522da7f
Child:
6:c97ae96fea8f
--- a/LPS22HB.cpp	Sat Jun 17 14:40:19 2017 +0000
+++ b/LPS22HB.cpp	Mon Jun 19 15:17:49 2017 +0000
@@ -47,7 +47,7 @@
 /////////////// Initialize ////////////////////////////////
 void LPS22HB::init(void)
 {
-    //_i2c.frequency(400000);
+    _i2c.frequency(400000);
     // Check acc is available of not
     dt[0] = LPS22HB_WHO_AM_I;
     _i2c.write(LPS22HB_addr, dt, 1, true);