test

Dependencies:   BME280 mbed

Fork of BME280_Hello by Toyomasa Watarai

Revision:
4:5a46e118c5f5
Parent:
0:2c9585cecfde
--- a/main.cpp	Fri Jun 26 06:42:06 2015 +0000
+++ b/main.cpp	Thu Aug 06 15:02:59 2015 +0000
@@ -4,7 +4,7 @@
 Serial pc(USBTX, USBRX);
 
 #if defined(TARGET_LPC1768)
-BME280 sensor(p28, p27);
+BME280 sensor(p9, p10);
 #else
 BME280 sensor(I2C_SDA, I2C_SCL);
 #endif
@@ -13,6 +13,6 @@
     
     while(1) {
         pc.printf("%2.2f degC, %04.2f hPa, %2.2f %%\n", sensor.getTemperature(), sensor.getPressure(), sensor.getHumidity());
-        wait(1);
+        wait(0.1);
     }
 }