@staberas
This code was very helpful. Thanks!
I tried adding temperature as well:
tmp = i2c.readfrom_mem(MPU6886_ADDRESS, MPU6886_TEMP_OUT_H, 2)
temp = (tmp[0]<<8|tmp[1])
temp = (float(temp) / 326.8) + 25.0;
I'm getting temps of 40.5C (105F). Am I doing something wrong or is this temperature the CPU temp?
Thanks,
/Chris