esphome/esphome/components/bme280_base
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
..
__init__.py BME280 SPI (#5538) 2024-01-09 22:31:38 -06:00
bme280_base.cpp Improve temperature precision in BME280 and BMP280 (#6124) 2024-01-20 19:57:39 -06:00
bme280_base.h BME280 SPI (#5538) 2024-01-09 22:31:38 -06:00
sensor.py BME280 SPI (#5538) 2024-01-09 22:31:38 -06:00