First of all I would like to apologize if my question seems stupid. I am new in the coding world.
I have looked and looked and looked, and I haven't found a way to change the address of a BNO055 after it has been initialised, without reinitializing the whole thing.
Four BNO055 connected on the I2C bus of a Feather 32u4.
Each ADR pin of the BNO055 are connected to a IO pin.
To address each BNO055 one after the other, I set all four IO pins to 0 apart from 1.
I have come to understand, that to be able to switch the address of the BNO055, you need to reinitialise it. It is not enough to just set the ADR pin to a different value.
This implies that in my loop, I need to reinitialise the BNO055 each time.
- Time consuming,
- Loss of calibration data each time.
Do you have an idea on how to be able to reinitialise only the address of all BNO055 without reinitializing the whole thing, at each iteration of the loop?
Again I am just a beginner. Sorry if the question is stupid.