Skip to content

Mistake in _read_data #19

Closed
Closed
@kolcz

Description

@kolcz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions