Hi, Sergio
You really want to be frightened by your consumption results !!!
There are no definite solutions for your problem ... cause you can take 2 hours or more to make 100 meters ... ( here some people stopped by the snow sometimes stay at the same place for ... 12 Hours, Engine idling, ... not to be frozen !!! )
Note at this moment ... you do not really want to know the average gas per 100 m !!!
so, just detect if your fuel volume is over the " Horror value " ( say 60 000 ...) as there was no odometer pulse ... and let the L/ km maths aside as they really do not mean anything !!!
show L/h at this time , if you like Horror films !!!
So, I think it will be simpler to show l/km ... only if your car runs ... Infinite is really difficult to write !!! ( yes : liters/ 0 m = infinite !!! )
A problem well explained is half solved ... don't you think ???
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks