View Single Post
Old 05-10-2008, 10:03 AM   #32 (permalink)
dcb
needs more cowbell
 
dcb's Avatar
 
Join Date: Feb 2008
Location: ÿ
Posts: 5,038

pimp mobile - '81 suzuki gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Volkswagen Golf TDI
90 day: 53.56 mpg (US)
Thanks: 158
Thanked 269 Times in 212 Posts
Also, you might try going into the code and changing both references to delay(2) to delay(12) and reverify/upload.

Also maybe try changing:
lcd.print("OpenGauge ");
to
lcd.print("0000000000000000");

just to see what happens.

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
__________________
WINDMILLS DO NOT WORK THAT WAY!!!

Last edited by dcb; 05-10-2008 at 10:08 AM..
  Reply With Quote