ftdi-embedded-hal icon indicating copy to clipboard operation
ftdi-embedded-hal copied to clipboard

Issue with connecting multiple i2c devices to the same chip

Open ftmazzone opened this issue 1 month ago • 0 comments

First of all, thank you for maintaining this crate !

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

  • https://docs.rs/bme680/latest/bme680/
  • https://docs.rs/veml7700/latest/veml7700/

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 ?

ftmazzone avatar Nov 04 '25 14:11 ftmazzone