23 lines
459 B
C++
23 lines
459 B
C++
#include "display.h"
|
|
#include "config.h"
|
|
|
|
|
|
void LCDPrintLine(LiquidCrystal* display, uint8_t y, char* value, uint8_t margin)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void LCDPrintLineCentered(LiquidCrystal* display, uint8_t y, char* value, uint8_t margin)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
const char* FormatTime(unsigned int time)
|
|
{
|
|
String minutes = String(time / 60);
|
|
String seconds = String(time % 60);
|
|
|
|
return (minutes + ':' + (seconds.length() == 1 ? '0' + seconds : seconds)).c_str();
|
|
} |