GY-63_MS5611/libraries/dateTimeHelpers/examples/datetime_clockAMPM/datetime_clockAMPM.ino
2023-01-08 12:16:53 +01:00

30 lines
411 B
C++

//
// FILE: datetime_clockAMPM.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo seconds2clockAMPM
// URL: https://github.com/RobTillaart/dateTimeHelpers
#include "dateTimeHelpers.h"
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
for (uint32_t s = 0; s <= 24 * 3600UL; s += 1800)
{
Serial.println(seconds2clockAMPM(s, true));
}
}
void loop()
{
}
// -- END OF FILE --