Skip to content

Commit f1eb01e

Browse files
committed
add comment with link to datasheet
1 parent 163a192 commit f1eb01e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adafruit_si7021/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,12 @@ class SI7021:
138138
def __init__(self, i2c_bus: I2C, address: int = 0x40) -> None:
139139
self.i2c_device = I2CDevice(i2c_bus, address)
140140
self._command(_RESET)
141+
142+
# max 15ms Powerup Time after issuing software reset
143+
# Table 2 inside of:
144+
# https://cdn-learn.adafruit.com/assets/assets/000/035/931/original/Support_Documents_TechnicalDocs_Si7021-A20.pdf
141145
time.sleep(0.015)
146+
142147
# Make sure the USER1 settings are correct.
143148
while True:
144149
# While restarting, the sensor doesn't respond to reads or writes.

0 commit comments

Comments
 (0)