Teensy 3.6 + LSM9DS1

Output


$GYR,0.0374,-0.2393,-0.6580 deg/s	$ACC,0.0734,-0.0096,0.9756 g	$MAG,0.1847, -0.1145, -0.1303 gauss	Pitch, Roll: -4.30, -0.57
$GYR,-0.0224,-0.1944,-0.7402 deg/s	$ACC,0.0735,-0.0085,0.9758 g	$MAG,0.1793, -0.1179, -0.1275 gauss	Pitch, Roll: -4.31, -0.50
$GYR,-0.1346,-0.3664,-0.8075 deg/s	$ACC,0.0732,-0.0098,0.9744 g	$MAG,0.1834, -0.1163, -0.1239 gauss	Pitch, Roll: -4.30, -0.57

Photo

Using 1.8k ohms resistors

I2C protocol3.3 volts

Fritzing

Image developed using Fritzing

copy/paste Sketch