Skip to content

Commit

Permalink
add comment with link to datasheet
Browse files Browse the repository at this point in the history
  • Loading branch information
FoamyGuy committed Apr 17, 2023
1 parent 163a192 commit f1eb01e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adafruit_si7021/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,12 @@ class SI7021:
def __init__(self, i2c_bus: I2C, address: int = 0x40) -> None:
self.i2c_device = I2CDevice(i2c_bus, address)
self._command(_RESET)

# max 15ms Powerup Time after issuing software reset
# Table 2 inside of:
# https://cdn-learn.adafruit.com/assets/assets/000/035/931/original/Support_Documents_TechnicalDocs_Si7021-A20.pdf
time.sleep(0.015)

# Make sure the USER1 settings are correct.
while True:
# While restarting, the sensor doesn't respond to reads or writes.
Expand Down

0 comments on commit f1eb01e

Please sign in to comment.