Added blink animation (Resolves #106)

This commit is contained in:
CommanderRedYT
2021-11-15 20:38:54 +01:00
parent be41e8018e
commit be05e42303
10 changed files with 126 additions and 21 deletions

View File

@@ -61,3 +61,4 @@ 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 );
uint8_t time_to_percent(std::chrono::duration<long, std::ratio<1,1000>> repeat, std::chrono::duration<long, std::ratio<1,1000>> riseTime, std::chrono::duration<long, std::ratio<1,1000>> fullTime, size_t numLeds, bool invert);