High resolution barometer and altimeter using i2c mode
Fork of ms5611 by
Diff: ms5611.cpp
- Revision:
- 6:41c370fa1f7b
- Parent:
- 5:0d7b229474c6
- Child:
- 7:90ee2168baa7
--- a/ms5611.cpp Fri May 17 16:16:16 2013 +0000 +++ b/ms5611.cpp Mon Jun 24 19:11:28 2013 +0000 @@ -27,6 +27,7 @@ // Constructor and destructor ms5611::ms5611(PinName sda, PinName scl) : _i2c(sda, scl) { + _i2c.frequency(400000); } //********************************************************