Adafruit_BNO08x
Adafruit_BNO08x copied to clipboard
Cannot create more than one instance
Attempting to create more than one Adafruit_BNO08x
fails, because i2c_dev
is a static
global, and gets discarded and re-created on the second call to the Adafruit_BNO08x
constructor. I believe the i2c_dev
should be a field in the device object.
See https://discord.com/channels/327254708534116352/537365760008257569/1273319381597687828 for a thread about this.