Edit: you can read the accelerometer data directly with (in x-terminal) :cat /sys/class/i2c-adapter/i2c-3/3-001d/coord