This message was posted on behalf of Intel Corporation
When using the command bme = m.I2c(0) you’re actually using i2c6, not i2c1. Do you need to connect several i2C devices? If that’s the case then the approach to follow is by assigning a different address to each I2C device
You can see more information related to the I2C buses and addresses here
Thanks for the hints.
The key was to specify the right bus number in the line 'bme = m.I2c(X)' below are my findings:
- when the device(s) are plugged into I2C1: any X in [0,8] will work, except 6
- when the device(s) are plugged into I2C6: X must be 6