Skip to content

Add check for error case "invalid reading" to I2C examples #13

@splatter96

Description

@splatter96

Add an additional Check for the error case "Invalid reading (Ambient light too high/Target surface too reflective)" as described in the user manual chapter 6.2. to the I2C examples.

Currently this case is not treated and just returns the distance 1 which seems in the output as a regular distance measurement, but is in fact an error.

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