Skip to content

Sensor: Allow user to set bus #7

Description

@ddunmire

At the moment the sensor class will assume i2c bus 1 for rpi. The bus should probably default to 1, but allow optional value to be passed in constructor and expose it as a property.

In my case I am using rpi zero w with a battery pack that causes issues with Atlas sensors on bus 1 issues. So I moved mine atlas to i2c bus 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions