View Single Post
Old 05-10-2008, 01:33 PM   #33 (permalink)
larrydag
FuelSipper
 
Join Date: Mar 2008
Location: Dallas, TX
Posts: 99

HondaHokie - '95 Honda Accord DX 4 door
90 day: 26.91 mpg (US)
Thanks: 0
Thanked 8 Times in 3 Posts
Quote:
Originally Posted by dcb View Post
It might be nothing too, just some strange result of nothing being connected to the board. To test that, modify Trip::mpg so it returns a 0.0 first thing:
double Trip::mpg(){
return 0.0; //add this line for testing display
That seemed to work. I guess it doesn't like getting no signal at first. Also the zeros before "GA" is blinking back and forth between gibberish and 000.00. Maybe i'll set a <code>return 0.0;</code> there as well.

UPDATE: adding return 0.0; to the Trip::gallons() worked too.

Last edited by larrydag; 05-10-2008 at 01:38 PM..
  Reply With Quote