Skip to content

Doesn't support multiple I2C ports #10

@goodmanj

Description

@goodmanj

The TMAG5273 class includes an _i2cPort field that gets initialized by the begin() method, so it should allow you to talk to TMAG sensors on multiple I2C ports on microcontrollers that support that. But the implementation of readRegisters() and writeRegisters() explicitly use the Wire object, so they can't be used for Wire1 etc.

I tried forking the repo to fix this myself but ran into technical difficulties, not sure why.

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