adafruit / Adafruit_CircuitPython_SHT31D

CircuitPython driver for the SHT31-D temperature and humidity sensor
MIT License
20 stars 18 forks source link

CRC mismatch #26

Closed juatafe closed 2 years ago

juatafe commented 2 years ago

CRC mismatch

python3 sht31d_simpletest.py Traceback (most recent call last): File "/home/pi/enose/Adafruit_CircuitPython_SHT31D/examples/sht31d_simpletest.py", line 14, in <module> print("\nTemperature: %0.1f C" % sensor.temperature) File "/usr/local/lib/python3.9/dist-packages/adafruit_circuitpython_sht31d-2.3.8.dev3+g028731e-py3.9.egg/adafruit_sht31d.py", line 359, in temperature File "/usr/local/lib/python3.9/dist-packages/adafruit_circuitpython_sht31d-2.3.8.dev3+g028731e-py3.9.egg/adafruit_sht31d.py", line 255, in _read File "/usr/local/lib/python3.9/dist-packages/adafruit_circuitpython_sht31d-2.3.8.dev3+g028731e-py3.9.egg/adafruit_sht31d.py", line 236, in _data File "/usr/local/lib/python3.9/dist-packages/adafruit_circuitpython_sht31d-2.3.8.dev3+g028731e-py3.9.egg/adafruit_sht31d.py", line 136, in _unpack RuntimeError: CRC mismatch