Hello program for BME280 library adapted to L073

Dependencies:   BME280 mbed-src

Fork of BME280_Hello by Toyomasa Watarai

Files at this revision

API Documentation at this revision

Comitter:
jcaridadhdez
Date:
Mon Jul 25 09:59:01 2016 +0000
Parent:
3:710f0b2843e4
Commit message:
L073 adapted

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-src.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
diff -r 710f0b2843e4 -r ccbe1195df4b main.cpp
--- a/main.cpp	Fri Jun 26 06:42:06 2015 +0000
+++ b/main.cpp	Mon Jul 25 09:59:01 2016 +0000
@@ -2,12 +2,7 @@
 #include "BME280.h"
 
 Serial pc(USBTX, USBRX);
-
-#if defined(TARGET_LPC1768)
-BME280 sensor(p28, p27);
-#else
 BME280 sensor(I2C_SDA, I2C_SCL);
-#endif
 
 int main() {
     
diff -r 710f0b2843e4 -r ccbe1195df4b mbed-src.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-src.lib	Mon Jul 25 09:59:01 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-src/#a11c0372f0ba
diff -r 710f0b2843e4 -r ccbe1195df4b mbed.bld
--- a/mbed.bld	Fri Jun 26 06:42:06 2015 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0
\ No newline at end of file