change efficiency display for consumption in kWh/100km
This commit is contained in:
parent
07ea359c53
commit
afe0059b51
|
@ -221,20 +221,20 @@ void display_standingDisplay(ESCSerialComm& escFront, ESCSerialComm& escRear) {
|
||||||
display.print(F("Trip:"));
|
display.print(F("Trip:"));
|
||||||
dtostrf(_displaytrip,1,0,buf);
|
dtostrf(_displaytrip,1,0,buf);
|
||||||
display.print((String)buf);
|
display.print((String)buf);
|
||||||
display.print(" m ");
|
display.print("m ");
|
||||||
//dtostrf(_displaycurrent,1,2,buf);
|
//dtostrf(_displaycurrent,1,2,buf);
|
||||||
dtostrf(_displaywatthours,1,2,buf);
|
dtostrf(_displaywatthours,1,2,buf);
|
||||||
display.print((String)buf);
|
display.print((String)buf);
|
||||||
//display.print(" Ah");
|
//display.print(" Ah");
|
||||||
display.print(" Wh");
|
display.print("Wh");
|
||||||
display.println();
|
display.println();
|
||||||
|
|
||||||
display.print(F("Eff: "));
|
display.print(F(""));
|
||||||
//dtostrf( _displaytrip/1000/_displaycurrent ,1,2,buf);
|
//dtostrf( _displaytrip/1000/_displaycurrent ,1,2,buf);
|
||||||
dtostrf( _displaytrip/1000/_displaywatthours ,1,2,buf);
|
dtostrf( _displaywatthours/_displaytrip*100,1,2,buf);
|
||||||
display.print((String)buf);
|
display.print((String)buf);
|
||||||
//display.print(" km/Ah");
|
//display.print(" km/Ah");
|
||||||
display.print(" km/Wh");
|
display.print(" kWh/100km");
|
||||||
|
|
||||||
if (_displayOverall){
|
if (_displayOverall){
|
||||||
display.print(" sum");
|
display.print(" sum");
|
||||||
|
|
Loading…
Reference in New Issue