mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
30 lines
411 B
C++
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 --
|