View Single Post
Old 01-31-2011, 08:48 AM   #2 (permalink)
meelis11
EcoModding Apprentice
 
meelis11's Avatar
 
Join Date: Feb 2009
Location: Estonia
Posts: 199

Green frog - '97 Audi A4 Avant 1.9TDI 81kW
Diesel
90 day: 43.1 mpg (US)
Thanks: 19
Thanked 40 Times in 28 Posts
Would be easier to just make paper where you write mph-kph side-by-side (example in 5 kph increments)

But for tech people, paper is not acceptable :P
It is not so hard to make some custom functions there. that 64bit math makes thing little harder though.

basically you make function like this (probaby dont even need 64bit math)

unsigned long instantkph()
{
unsigned long kph = instantmph(); // 60.54 mph is 60540
kph = kph / 1.609344; // result should be 37617 so it means 37.61 km/h

return kph;
}

if you want, you can make extra screen for this purpose (not hard at all), but easier at first is to use custom screen - replace there some slot with instantkph()
  Reply With Quote
The Following User Says Thank You to meelis11 For This Useful Post:
gtkid2002 (02-02-2011)