Page 2 of 2

Re: Pi Rtc Dio with Raspberry Pi FAQ

PostPosted: Sat Jul 04, 2015 9:19 pm
by mikronauts
Due to device tree & hwclock issues with the PCF8563 RTC used on Pi Rtc Dio, I have written two new python programs:

setrtc.py - sets the RTC tot he current system date and time
getrtc.py - sets the system date and time from the date and time in the RTC

Adding "getrtc.py" to the end of your /etc/rc.local will set the system date & time to the current RTC time on boot.

I am currently testing the code, looks good so far... I'll add the code to the Pi Rtc Dio product page as soon as I have qualified it (within a week).