rv3028 python
Version 0.0.5
Dies ist nur eine Python -Bibliothek, die mit dem RV3028 miteinander verbindet und die RTC nicht als Zeitquelle für Raspbian installiert.
Um als RTC in Raspbian einzurichten, müssen Sie so etwas wie das Folgende zu /boot/config.txt hinzufügen:
dtoverlay=i2c-rtc,rv3028,backup-switchover-mode=1
Weitere Informationen finden Sie in der Dokumentation i2c-rtc dtoverlay: https://github.com/raspberrypi/linux/blob/0d72d83ec92ACDA1E8CBAD0D4213A5EC2B3F2E1B/Armarm/Arm/boot/Dts/Overlays/verlay
Stabile Bibliothek von PYPI:
python3 -m pip install rv3028Neueste/Entwicklungsbibliothek von GitHub:
git clone https://github.com/pimoroni/rv3028-pythoncd rv3028-pythonsudo ./install.sh --unstableDiese Bibliothek hängt von SMBUS ab:
sudo apt install python-smbus # Python 2
sudo apt install python3-smbus # Python 3