High resolution barometer and altimeter using i2c mode. Adapted to FreeIMU interface

Dependents:   FreeIMU FreeIMU_external_magnetometer FreeIMU

Fork of ms5611 by Kevin Braun

Files at this revision

API Documentation at this revision

Comitter:
tyftyftyf
Date:
Wed Apr 18 20:24:20 2018 +0000
Parent:
9:9f1d38b8d7c3
Commit message:
change to I2C 1

Changed in this revision

MS561101BA.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 9f1d38b8d7c3 -r 7802dc3ef0a0 MS561101BA.cpp
--- a/MS561101BA.cpp	Wed Mar 07 04:13:14 2018 +0000
+++ b/MS561101BA.cpp	Wed Apr 18 20:24:20 2018 +0000
@@ -29,8 +29,8 @@
 #include "MS561101BA.h"
 
 #ifndef I2C_SDA
-    #define I2C_SDA p28
-    #define I2C_SCL p27
+    #define I2C_SDA p9
+    #define I2C_SCL p10
 #endif
 
 MS561101BA::MS561101BA() : i2c(I2C_SDA,I2C_SCL), _thread(), sem(0){