Created
August 20, 2017 14:31
-
-
Save EkoAdiWijayanto/4e73e353d91be3abb83ee63591c776a5 to your computer and use it in GitHub Desktop.
RTC ds3231
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/boot/config.txt | |
dtoverlay=i2c-rtc,ds3231 | |
# terminal | |
$ sudo apt-get purge fake-hwclock | |
$ sudo reboot | |
$ hwclock -w | |
$ sudo dpkg-reconfigure tzdata | |
#/etc/rc.local | |
/sbin/hwclock -s | |
#/etc/default/hwclock | |
HWCLOCKACCESS=no | |
$ sudo reboot | |
apt-get purge ntp | |
apt-get install ntpdate | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment