since master code runs only like at 2.26 milliseconds or something. but we can assume that the accelerometer gives out values at every 2.26 m/s therefore we can say that velocity = acceleration/processor time^2. If i am wrong please correct me

Thank you once again guys!