Arduino code for the gravitech I2C accelerometer