rpi.rtc
rpi.rtc copied to clipboard
A Python module to deal with DS1302 RTC chip on Raspberry Pi
A script that checks for ntp connection and syncs either the rtc or system time, depending if ntp time is available or not. thanks!
Read RTC chip date and time ds1302_get_utc RPi date and time (UTC) to RTC chip ds1302_set_utc All working fine, After shutdown not synchronise with time. Time running from shutdown time...
Please explain in the readme how to uninstall this. Thanks
i use ds1302_set_utc to set the datetime, usually get the message: **unable to set RTC time** so i checked the code, found this clause cannot fullfill -2 < (dt_write -...
Add script to set date and time(UTC) from string to RTC. Use: ds1302_set_utc_from_string "09/19/18 13:55:26"
`>>> rtc.read_datetime()` Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.4/dist-packages/pyRPiRTC-0.0.2-py3.4.egg/pyRPiRTC.py", line 151, in read_datetime ValueError: month must be in 1..12 what's problem in thie error?