Skip to content

Commit dfc6011

Browse files
committed
Adding pressure capabilities notes
1 parent 0341f08 commit dfc6011

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

adafruit_bmp280.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,13 @@
102102
class Adafruit_BMP280: # pylint: disable=invalid-name
103103
"""Base BMP280 object. Use `Adafruit_BMP280_I2C` or `Adafruit_BMP280_SPI` instead of this. This
104104
checks the BMP280 was found, reads the coefficients and enables the sensor for continuous
105-
reads"""
105+
reads
106+
107+
.. note::
108+
The operational range of the BMP280 is 300-1100 hPa.
109+
Pressure measurements outside this range may not be as accurate.
110+
111+
"""
106112

107113
def __init__(self):
108114
# Check device ID.
@@ -155,7 +161,7 @@ def _reset(self):
155161
def _write_ctrl_meas(self):
156162
"""
157163
Write the values to the ctrl_meas register in the device
158-
ctrl_meas sets the pressure and temperature data acquistion options
164+
ctrl_meas sets the pressure and temperature data acquisition options
159165
"""
160166
self._write_register_byte(_REGISTER_CTRL_MEAS, self._ctrl_meas)
161167

0 commit comments

Comments
 (0)