Display the accelerometer and gyroscope