fix RTC was not working becouse i2c was off | close dride/dride-core#59

pull/182/head
Yossi 2018-03-06 16:10:42 +02:00
parent 5c4267dfb3
commit 3f94254ca8
1 changed files with 4 additions and 1 deletions

View File

@ -210,10 +210,13 @@ sudo apt-get install python-smbus i2c-tools -y
# TODO: turn on ISC on raspi-config...
# add to sudo nano /boot/config.txt
# add to /boot/config.txt
echo "dtoverlay=i2c-rtc,ds3231,dwc2" >> /boot/config.txt
echo "dtparam=i2c_arm=on" >> /boot/config.txt
# add to /boot/config.txt
echo "i2c-dev" >> /etc/modules
# Remove hw-clock
sudo apt-get -y remove fake-hwclock