rv3028 python
Version 0.0.5
이것은 RV3028과 인터페이스하기위한 파이썬 라이브러리이며 RTC를 Raspbian의 시간 소스로 설치하지 않습니다.
Raspbian에서 RTC로 설정하려면 /boot/config.txt 에 다음과 같은 것을 추가해야합니다.
dtoverlay=i2c-rtc,rv3028,backup-switchover-mode=1
자세한 내용은 i2c-rtc dtoverlay 문서화 문서 : https://github.com/raspberrypi/linux/blob/0d72d83ec92acda1e8cbad0d4213a5ec2b3f2e1b/arch/arm/arm/boot/dts/overlays/readme#l1079에서 확인할 수 있습니다.
PYPI의 안정적인 라이브러리 :
python3 -m pip install rv3028 실행하십시오Github의 최신/개발 라이브러리 :
git clone https://github.com/pimoroni/rv3028-pythoncd rv3028-pythonsudo ./install.sh --unstable이 라이브러리는 smbus에 따라 다릅니다.
sudo apt install python-smbus # Python 2
sudo apt install python3-smbus # Python 3