BME280 Combined humidity and pressure sensor library with I2C interface
Dependents: BME280_LCD IFTTT_BME280_demo TweetTest NetworkThermometer ... more
Diff: BME280.cpp
- Revision:
- 6:bce5ac62b015
- Parent:
- 5:c1f1647004c4
--- a/BME280.cpp Sat Mar 11 04:21:14 2017 +0000 +++ b/BME280.cpp Sat Nov 07 13:13:26 2020 +0000 @@ -117,7 +117,7 @@ float BME280::getTemperature() { - uint32_t temp_raw; + int32_t temp_raw; float tempf; char cmd[4];