Skip to content

DPS310_Advanced not passing on non-default I2C address #21

Closed
@caternuson

Description

@caternuson

Re this thread:
https://forums.adafruit.com/viewtopic.php?f=60&t=189700

The DPS310_Advanced subclass needs to pass the address parameter on to super. Instead, it's passing the _DPS310_DEFAULT_ADDRESS const:

super().__init__(i2c_bus, _DPS310_DEFAULT_ADDRESS)

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