Add delay to init
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.