i2c communication, magnetometer self test