## Re: [Gumstix-users] Calculating speed from rate

 Re: [Gumstix-users] Calculating speed from rate From: - 2006-04-26 23:16:33 Attachments: Message as HTML ```..sorry .. If I understand what you want to do, you just have to increase a counter, then : reset it if you got 50 look at its value if you got 0. If you increase it every =B5s, your counter will give you how many =B5s it = took to go from 50 to 0 (assuming it can't pass grom 1 to -1 without giving 0) On 4/27/06, J=E9r=F4me Multrier wrote: > > if you read data and at t=3Dt0=3D5 you got 50 and at t=3Dt1=3D10 you got = 0, so it > took t1-t0=3D10-5=3D5s to move from 50 to 0 .. > so if 50 means 0 degrees and 0 -90 degrees, you rotated at 3tr/mn > > if you want to find when it goed to 0, you have to test it as fast as > possible, to increase precision. > If I anderstand what you w > > On 4/26/06, Demetris Zavorotnichenko wrote: > > > how do i calculate how long it took to go from 50 to 0? > > > > > > -- > J=E9r=F4me Multrier > TinyCoach, un projet KaliBee > -- J=E9r=F4me Multrier TinyCoach, un projet KaliBee ```

## Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks