We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2ad4598 + e45292b commit a5727caCopy full SHA for a5727ca
examples/RTC/RTC.ino
@@ -62,7 +62,7 @@ void loop() {
62
Serial.print(":");
63
Serial.println(MachineControl_RTCController.getSeconds());
64
65
- time_t utc_time = time(NULL);
+ time_t utc_time = MachineControl_RTCController.getEpoch();
66
Serial.print("Date as UTC time: ");
67
Serial.println(utc_time);
68
Serial.println();
0 commit comments