Read accelerometer values