I2C accelerometer