BME280 library
Revision 1:0054d4a28927, committed 2016-08-03
- Comitter:
- yasuyuki
- Date:
- Wed Aug 03 14:28:32 2016 +0000
- Parent:
- 0:b32d0acc420d
- Commit message:
- added wait
Changed in this revision
BME280.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b32d0acc420d -r 0054d4a28927 BME280.cpp --- a/BME280.cpp Mon Nov 23 07:50:28 2015 +0000 +++ b/BME280.cpp Wed Aug 03 14:28:32 2016 +0000 @@ -47,6 +47,9 @@ // set ctrl_meas : forced mode set(ctrl_meas, 0x25); + // wait 11.5ms for forced mode + wait_ms(12); + // wait status if(get(status) != 0)wait_ms(1);