Compare commits
2 Commits
07ea359c53
...
5a0adf98bd
Author | SHA1 | Date |
---|---|---|
interfisch | 5a0adf98bd | |
interfisch | 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");
|
||||||
|
|
|
@ -8,13 +8,14 @@
|
||||||
; 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]
|
|
||||||
platform = teensy
|
[platformio]
|
||||||
board = teensy31
|
default_envs = teensy31
|
||||||
|
|
||||||
|
; Set/override default options for each "[env:***]"
|
||||||
|
[env]
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
|
||||||
build_flags =
|
build_flags =
|
||||||
|
@ -25,4 +26,14 @@ lib_deps =
|
||||||
adafruit/Adafruit SSD1306@^2.5.7
|
adafruit/Adafruit SSD1306@^2.5.7
|
||||||
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
|
Loading…
Reference in New Issue