bme280: Fix typos in bme280.md.

Thanks to @CesiumK9 for bringing them up.
master
Robert Hammelrath 2021-12-19 09:27:21 +01:00 zatwierdzone przez robert-hh
rodzic 0da810b150
commit aaf2a4f271
1 zmienionych plików z 101 dodań i 101 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
This is a driver for the Bosch BME280 temperature/pressure/humidity sensor,
for use with MicroPython on Pycom of ESP8266 boards. It is also compatible with
the BMP280 which provides the same interface but temperature + pressure only.
the BMP180 which provides the same interface but temperature + pressure only.
Two different variants of the library are supplied. bme20_int.py uses integer
arithmetic, bme280_float.py uses float arithmetic for the compensation of the
@ -33,19 +33,19 @@ human-readable string values to quickly check that the sensor is working.
In practice, the method to use is `read_compensated_data()` which returns
a `(temperature, pressure, humidity)`-tuple
### altitude = bmp.altitude
### altitude = bme.altitude
Altitude in m. The altitude is calculated based on the value given to
the property sealevel (see below). Obviously, this value does not have to be the
sealevel pressure, but any pressure you may select, for instance to measure
altitude difference in general.
### bmp.sealevel = sealevel
### sealevel = bmp.sealevel
### bme.sealevel = sealevel
### sealevel = bme.sealevel
Setting and getting the pressure for altitude calculation.
The default is 101325 Pa, but you can use your local
QNH in Pa, or set a local pressure to determine altitude difference.
### dew_point = bmp.dew_point
### dew_point = bme.dew_point
Returns the dew_point temperature (°C) calculated from the actual temperature and humidity.
## Methods