Skip to content

Add exception handling to read_pressure() #25

Description

@thomaseleff

If there is no recognized i2c-device at the expected address, the read_pressure() function currently returns an uncaught exception.

To Do:

  • Add exception handling to read_pressure() that handles an OSError exception and reports the error in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions