Skip to content

Commit aa85ceb

Browse files
authored
Merge pull request #48 from stroobandt/main
Missing standby time constant values as per datasheet
2 parents 99c0580 + decb445 commit aa85ceb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adafruit_bmp280.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,23 +105,23 @@
105105
TC_X[_Y] where X=milliseconds and Y=tenths of a millisecond
106106
"""
107107
STANDBY_TC_0_5 = const(0x00) # 0.5ms
108-
STANDBY_TC_10 = const(0x06) # 10ms
109-
STANDBY_TC_20 = const(0x07) # 20ms
110108
STANDBY_TC_62_5 = const(0x01) # 62.5ms
111109
STANDBY_TC_125 = const(0x02) # 125ms
112110
STANDBY_TC_250 = const(0x03) # 250ms
113111
STANDBY_TC_500 = const(0x04) # 500ms
114112
STANDBY_TC_1000 = const(0x05) # 1000ms
113+
STANDBY_TC_2000 = const(0x06) # 2000ms
114+
STANDBY_TC_4000 = const(0x07) # 4000ms
115115

116116
_BMP280_STANDBY_TCS = (
117117
STANDBY_TC_0_5,
118-
STANDBY_TC_10,
119-
STANDBY_TC_20,
120118
STANDBY_TC_62_5,
121119
STANDBY_TC_125,
122120
STANDBY_TC_250,
123121
STANDBY_TC_500,
124122
STANDBY_TC_1000,
123+
STANDBY_TC_2000,
124+
STANDBY_TC_4000,
125125
)
126126

127127

0 commit comments

Comments
 (0)