Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: BME280.cpp
- Revision:
 - 3:87add4547c4e
 - Parent:
 - 2:6ff57cf56fe1
 
--- a/BME280.cpp	Fri Dec 18 17:25:07 2020 +0000
+++ b/BME280.cpp	Fri Dec 18 17:25:46 2020 +0000
@@ -23,13 +23,13 @@
     //               config filter[2:0] = 100   filtre IIR à 16 coefficients
     //               config   =  000 100 00
     data_write[0] = BME280_CTRL_HUM_ADDR ;
-    data_write[1] = 0b00000001  ;
+    data_write[1] = ???????????  ;
     i2c.write(BME280_ADDRESS, data_write, 2);
     data_write[0] = BME280_CTRL_MEAS_ADDR ;
-    data_write[1] = 0b01010111  ;
+    data_write[1] = ??????????  ;
     i2c.write(BME280_ADDRESS, data_write, 2);
     data_write[0] = BME280_CONFIG_ADDR ;
-    data_write[1] = 0b00010000 ;
+    data_write[1] = ??????????? ;
     i2c.write(BME280_ADDRESS, data_write, 2);
 }