Using the I2C bus to control a digital accelerometer with the mraa library