well its a continuation.. i have the readings as i have been told to use just one axis which is Y cos the value on it seem realistic..

for the Y axis, attachin the device to my arm, when arm is stretched forward the output voltage was 2.18v and when arm is swung backwards output voltage read 1.64v. so by this i have determined using an algorithm that when arm is greater than 2v elevated and less than 1v depressed then a cycle or a step has been taken.

i have attached my algorithm