High resolution barometer and altimeter using i2c mode

Dependents:   mbed_5637_test Weather_Station_Ofiicial

Fork of ms5611 by Kevin Braun

Revision:
6:41c370fa1f7b
Parent:
5:0d7b229474c6
diff -r 0d7b229474c6 -r 41c370fa1f7b ms5611.cpp
--- 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);
 }
 
 //********************************************************