Dual CANbus monitor and instrumentation cluster
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 beep mbed
Fork of CANary by
Diff: displayModes.cpp
- Revision:
- 34:4751a8259b18
- Parent:
- 33:a277743ebdeb
- Child:
- 35:5acbd8a64a89
--- a/displayModes.cpp Tue Mar 19 04:43:43 2013 +0000 +++ b/displayModes.cpp Wed Mar 20 13:57:00 2013 +0000 @@ -88,10 +88,9 @@ tt.locate(10,200); printf("%4.1f kWh\n",(float)gids*0.08); tt.set_font((unsigned char*) SCProSB31x55); - //tt.set_font((unsigned char*) Neu42x35); tt.foreground(Green); tt.locate(60,96); - printf("%4.1f mi \n",(float)(gids-5)*0.33); // Approx for now + printf("%4.1f mi \n",(float)(gids-5)*0.31); // Approx for now lgids=gids; } if(force||SOC!=lSOC){