Did any one know how to get acceleration from stm32f4 discovery? Actually i am trying to calculate the distance. Kindly help me. Thanks.