|
Re: RPM calculator
Get rate is not ideal.
We store a last time variable.
Take counter.getdistance / (current time - last time)
Then reset the counter.
You will get a much stabler speed this way
__________________
"Never let your schooling interfere with your education" -Mark Twain
|