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.
Revision 3:87add4547c4e, committed 2020-12-18
- Comitter:
- pierreprovent
- Date:
- Fri Dec 18 17:25:46 2020 +0000
- Parent:
- 2:6ff57cf56fe1
- Commit message:
- sans modif
Changed in this revision
| BME280.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}