Pi Rtc Dio with Raspberry Pi FAQ

Moderator: Steve

Re: Pi Rtc Dio with Raspberry Pi FAQ

Postby mikronauts » Sat Jul 04, 2015 9:19 pm

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).
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Previous

Return to Pi Rtc Dio

Who is online

Users browsing this forum: No registered users and 2 guests

cron