We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ad4598 commit e45292bCopy full SHA for e45292b
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