adafruit / Adafruit_CircuitPython_BNO055

CircuitPython driver for BNO055 absolute orientation sensor
MIT License
85 stars 51 forks source link

I2C switching using address pin fails. #110

Closed Francis-Simera closed 1 year ago

Francis-Simera commented 1 year ago

I can't seem to enable and disable multiple the IMUs connected to the same bus. It either connects to one and only reads from that one regardless of trying to switch via the address pins.

caternuson commented 1 year ago

What addresses does an I2C scan show? https://learn.adafruit.com/scanning-i2c-addresses/circuitpython

Francis-Simera commented 1 year ago

The scan only showed 0x28. However, I soon found out I was using the wrong method to switch the addresses. I now make sure that my GPIO pins are in the right states before I connect the IMUs. Not an elegant solution but its working for now.