Trying to get values from accelerometer.