Added driving statistics

This commit is contained in:
CommanderRedYT
2021-11-15 01:53:35 +01:00
parent 1b4498b2ca
commit b9e1509a87
10 changed files with 199 additions and 2 deletions

View File

@@ -58,3 +58,6 @@ void updateAccumulators();
void readPotis();
float wattToAmpere(float watt);
float wattToMotorCurrent(float watt);
std::string get_current_uptime_string();
std::string get_current_driving_time_string();
void secondsToHMS( const float seconds, uint16_t &h, uint8_t &m, uint8_t &s );