reading accelerometer raw data