Library for the BMP085 barometer.

Dependents:   Barometer-Example IOT_Repository

Files at this revision

API Documentation at this revision

Comitter:
asmellby
Date:
Wed Nov 18 12:47:49 2015 +0000
Parent:
0:fb197da45ba8
Commit message:
Fix delay for ultra high resolution.

Changed in this revision

BMP085.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BMP085.cpp	Sun Nov 15 18:05:18 2015 +0000
+++ b/BMP085.cpp	Wed Nov 18 12:47:49 2015 +0000
@@ -62,7 +62,7 @@
     }
 
     _state = BMP085_BUSY;
-    delay.attach(this, &BMP085::_callback_handler, 0.01f);
+    delay.attach(this, &BMP085::_callback_handler, 0.02);
     while(_state != BMP085_IDLE) {
         sleep();
     }