Skip to content

Don't ignore bus errors #12

@malkusch

Description

@malkusch

Every Wire.* call ignores the return values, which may indicate errors. It would be nice as a user to know if there was an error on the bus, so that I could compensate with e.g. a retry. So maybe the BME280Class::read* and BME280Class::write* methods could instead of returning void, return a bool or directly the return code from a failing Wire operation.

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