|
|
@ -16,6 +16,14 @@ void Display::showTime(const uint8_t& minutes,
|
|
|
|
+clip<uint8_t>(secconds,0,59)<< std::endl;
|
|
|
|
+clip<uint8_t>(secconds,0,59)<< std::endl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Display::showTime(const uint16_t& secconds)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
uint8_t sec = secconds % 60;
|
|
|
|
|
|
|
|
std::cout << "time: " <<
|
|
|
|
|
|
|
|
+((secconds - sec) / 60) <<" : " <<
|
|
|
|
|
|
|
|
+sec<< std::endl;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Display::showMode(modes mode)
|
|
|
|
void Display::showMode(modes mode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|