jxl77
|
c35a21773e
|
Improve temperature precision in BME280 and BMP280 (#6124)
* Update bme280_base.cpp
Change read_temperature to get better precision
float const temperature = (*t_fine * 5 + 128);
return temperature / 25600.0f;
* Update bmp280.cpp
increase precision in read_temperature
* Update bmp280.cpp
clang-format correction
|
2024-01-20 19:57:39 -06:00 |
|