Skip to content

Issue with connecting multiple i2c devices to the same chip #77

@ftmazzone

Description

@ftmazzone

First of all, thank you for maintaining this crate !

I have two i2c sensors that I would like to connect to the chip:

I am able to get data when using one chip but when connecting both i2c devices but did not succeed to reuse the i2c variable to read data from the second sensor as it has been moved previously.
Do you know if this is a supported scenario or if there is any example to connect multiple HAL i2c devices ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions