https://github.com/lewangdev/wgd-ds1302
DS1302 RTC(Real Time Clock) for RaspberryPi
https://github.com/lewangdev/wgd-ds1302
Last synced: about 1 year ago
JSON representation
DS1302 RTC(Real Time Clock) for RaspberryPi
- Host: GitHub
- URL: https://github.com/lewangdev/wgd-ds1302
- Owner: lewangdev
- Created: 2019-03-05T10:22:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-05T10:54:17.000Z (about 7 years ago)
- Last Synced: 2025-01-02T23:51:53.479Z (about 1 year ago)
- Language: C
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
树莓派时钟模块设置
===================
## 需要先安装 wiringPi
[安装 wiringPi 说明](http://wiringpi.com/download-and-install/)
## 设置时钟
```
# 编译
make
# 设置系统时间到时钟模块
./ds1302 -sdsc
# 同步时钟模块时间到系统
sudo ./ds1302 -slc
```