Example program to use BMP085

Dependencies:   BMP085 mbed

Fork of Barometer-Example by silabs-abakurs

Files at this revision

API Documentation at this revision

Comitter:
abouillot
Date:
Tue Jan 24 10:37:19 2017 +0000
Parent:
0:bcb1988de877
Commit message:
BMP085 example program for Nucleo mbed - tested on L152RE

Changed in this revision

BMP085.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r bcb1988de877 -r 9194c7303ad5 BMP085.lib
--- a/BMP085.lib	Sun Nov 15 18:05:54 2015 +0000
+++ b/BMP085.lib	Tue Jan 24 10:37:19 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/silabs-abakurs/code/BMP085/#fb197da45ba8
+https://developer.mbed.org/users/abouillot/code/BMP085/#dcd90bee9ac2
diff -r bcb1988de877 -r 9194c7303ad5 main.cpp
--- a/main.cpp	Sun Nov 15 18:05:54 2015 +0000
+++ b/main.cpp	Tue Jan 24 10:37:19 2017 +0000
@@ -8,7 +8,7 @@
 }
 
 int main() {
-    BMP085 sensor(PD6, PD7, BMP085_MODE_HIGH_RESOLUTION);
+    BMP085 sensor(D14, D15, BMP085_MODE_HIGH_RESOLUTION);
     ticker.attach(&measurement, 0.4);    
     
     while(1) {
diff -r bcb1988de877 -r 9194c7303ad5 mbed.bld
--- a/mbed.bld	Sun Nov 15 18:05:54 2015 +0000
+++ b/mbed.bld	Tue Jan 24 10:37:19 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/9296ab0bfc11
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/ad3be0349dc5
\ No newline at end of file