Skip to content

Feature set check may fail #19

Closed
Closed
@caternuson

Description

@caternuson

Re this thread:
https://forums.adafruit.com/viewtopic.php?t=201980

Return isn't as expected so check fails.

Not finding any reference to the feature set command in any of the SGP40 refs.

# Check feature set
self._command_buffer[0] = 0x20
self._command_buffer[1] = 0x2F
featureset = self._read_word_from_command()
if featureset[0] != 0x3220:
raise RuntimeError(f"Feature set does not match: {featureset[0]:#x}")

Maybe just remove the check?

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