im getting linear acceleration from my phone and have a problem. I wanted to get i=i+1 if acceleration is higher than 10m/s but only add 1 ONCE not all the time readings are above 10 m/s. So thinking about getting the moment when values are getting down again below 10 and than adding +1 to i. Can Anyone help me?im getting linear acceleration from my phone an