GY-63_MS5611/libraries/dateTimeHelpers/examples/datetime_millis2clock/datetime_millis2clock.ino

28 lines
414 B
Arduino
Raw Normal View History

2023-01-08 06:16:53 -05:00
//
// FILE: datetime_millis2clock.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo datetime_millis2clock
// URL: https://github.com/RobTillaart/dateTimeHelpers
#include "dateTimeHelpers.h"
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
}
void loop()
{
uint32_t mil = micros(); // simulation fast clock
Serial.println(millis2clock(mil));
delay(1234);
}
// -- END OF FILE --