esphome/esphome/components/bmp280
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 🏗 Merge C++ into python codebase (#504) 2019-04-17 12:06:00 +02:00
bmp280.cpp Improve temperature precision in BME280 and BMP280 (#6124) 2024-01-20 19:57:39 -06:00
bmp280.h Initialize all child sensors to nullptr (#3808) 2022-09-15 11:53:22 +12:00
sensor.py Update components "if x in config" (#5181) 2023-08-02 16:25:26 +12:00