watersensor and temp
Dependencies: MQTT NetworkSocketAPI X_NUCLEO_IDW01M1v2 mbed watersenor_and_temp_code
Fork of IDW01M1-MQTT by
Diff: BME280/BME280.hpp
- Revision:
- 3:30d9b8d9adc9
- Parent:
- 0:80c7778c82b8
diff -r eab5b5c8271d -r 30d9b8d9adc9 BME280/BME280.hpp --- a/BME280/BME280.hpp Thu Nov 02 04:38:10 2017 +0000 +++ b/BME280/BME280.hpp Fri Nov 03 01:57:41 2017 +0000 @@ -48,7 +48,8 @@ } } } -void BME280::receive(){ +void BME280::receive() +{ for(int i=0;i<BME280_size;i++){ buf[i] = sensor.getc(); //pc.putc(buf[i]);