Hi friends,
after some problems, I have (finally), my Carīs speedometer working fine (thanks Tim Box for your tips).
But, I have another problem related to PicBasicīs Math.
When I finish the trip cruise, I have to calculate the average speed.
I have the distance in hundreds of meters and the time traveled in seconds.
Iīm using this formula :
VM = ((Dist * 36)/Time) * 10
But, with this method I won't be able to calculate average speed for distances greater than 182 Km (or 1820 hundreds of meters)
because the Dist*36 will be greater than 65535.
Does anyone know how to handle this problem ?
tahnk you
Sérgio (Brazil)
Bookmarks