11 lines
196 B
C++

void rtc_begin()
{
// Starting RTC
Rtc.Begin();
// TurnOn RTC EEPROM
RtcEeprom.Begin();
// Read Date Time
RtcDateTime compiled = RtcDateTime(__DATE__, __TIME__);
}