Compare commits

..

No commits in common. "5a0adf98bde3f7769d213104838d995adfda14f8" and "07ea359c538f117bc33631e1d6eedf47bfa2fcc9" have entirely different histories.

2 changed files with 11 additions and 22 deletions

View File

@ -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("")); display.print(F("Eff: "));
//dtostrf( _displaytrip/1000/_displaycurrent ,1,2,buf); //dtostrf( _displaytrip/1000/_displaycurrent ,1,2,buf);
dtostrf( _displaywatthours/_displaytrip*100,1,2,buf); dtostrf( _displaytrip/1000/_displaywatthours ,1,2,buf);
display.print((String)buf); display.print((String)buf);
//display.print(" km/Ah"); //display.print(" km/Ah");
display.print(" kWh/100km"); display.print(" km/Wh");
if (_displayOverall){ if (_displayOverall){
display.print(" sum"); display.print(" sum");

View File

@ -8,14 +8,13 @@
; Please visit documentation for the other options and examples ; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html ; https://docs.platformio.org/page/projectconf.html
[env:teensy31]
[platformio] platform = teensy
default_envs = teensy31 board = teensy31
; Set/override default options for each "[env:***]"
[env]
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
build_flags = build_flags =
@ -27,13 +26,3 @@ lib_deps =
arduino-libraries/SD@^1.2.4 arduino-libraries/SD@^1.2.4
https://github.com/adafruit/Adafruit_NeoPixel https://github.com/adafruit/Adafruit_NeoPixel
https://github.com/milesburton/Arduino-Temperature-Control-Library/ https://github.com/milesburton/Arduino-Temperature-Control-Library/
[env:teensy31]
platform = teensy
board = teensy31
[env:teensy40]
platform = teensy
board = teensy40