Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistake in _read_data #19

Open
kolcz opened this issue Apr 3, 2024 · 1 comment
Open

Mistake in _read_data #19

kolcz opened this issue Apr 3, 2024 · 1 comment

Comments

@kolcz
Copy link

kolcz commented Apr 3, 2024

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
Copy link
Author

kolcz commented Apr 3, 2024

#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant