first commit : reading accelerometer.