Teensy 4.0 + Sparkfun BNO080 MPU

With Quaternions

Description

Extracting Quaternion readings from Sparkfun breakout board of the BNO080. Please note that the breakout board already has i2c pull-up resistors, so no need to add more. Derivation of the EulerQuaternion formula is here

I2C protocol3.3 volts

copy/paste Sketch