Skip to content

Add delay to init

Compare
Choose a tag to compare
@kattni kattni released this 16 Sep 21:03
08e07a8

Add time.sleep() to __init__ to resolve issue with remote sensor I/O error.

Thanks to @dherrada for the fix!

To use in CircuitPython, download the the Adafruit CircuitPython bundle and copy the correct .mpy file to the lib folder on your CIRCUITPY drive.

To use in CPython, pip install adafruit-circuitpython-htu21d.

Read the docs for info on how to use it.