i2cdetect -l i2cdetect -y 1Gerät auf 0x68 muss sichtbar sein.
i2cget -y 1 0x68 0 #sec i2cget -y 1 0x68 1 #min i2cget -y 1 0x68 2 #hour
/etc/modules
:
i2c-bcm2708 i2c-devin
/etc/modprobe.d/raspi-blacklist.conf
Zeile i2c-bcm2708
auskommentieren/etc/rc.local
modprobe rtc-ds1307 echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
hwclock -r
hwclock --systohc -D --noadjfile --utc