adafruit / Adafruit_CircuitPython_SCD4X

CircuitPython/Python driver for Sensirion SCD40 & SCD41
MIT License
19 stars 10 forks source link

Mistake in _read_data #19

Closed kolcz closed 6 days ago

kolcz commented 4 months ago

adafruit-circuitpython-scd4x version 1.4.2

In method _read_data of class SCD4x is mistake in calculating self._temperature and **self._realtive_humidity. Denominator is missing "- 1" according to documentation. Code snippet from library from pip: image

Fragment from Data Sheet: image

kolcz commented 4 months ago

20

FoamyGuy commented 6 days ago

resolved by #20