use Dussolved_oxygen_sensor_on_wifi

Dependencies:   watersenor_and_temp_code MQTT NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed

Fork of DS1820_IDW01M1 by CHANG rozen

Revision:
6:54965cdc7955
Parent:
5:42113ea1b319
--- a/BME280/BME280.hpp	Mon Nov 06 15:04:43 2017 +0000
+++ b/BME280/BME280.hpp	Wed Nov 08 05:49:24 2017 +0000
@@ -2,7 +2,7 @@
 #ifndef BME280_HPP
 #define BME280_HPP
 
-#define BME280_size 5
+#define BME280_size 6
 
 Serial sensor(PA_11,PA_12);// Tx,Rx
 Serial pc(USBTX,USBRX);
@@ -59,7 +59,7 @@
     pc.printf("start receive \n");
     for(int i=0;i<BME280_size;i++)
     {
-        sensor.gets(buf,8); 
+        sensor.gets(buf,9); 
     }
     
 }