From e4e5b0a6a078eff097ff7c1ef1bfa6b7c2887dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Wed, 8 Jan 2025 00:02:21 +0800 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 19b3e84..f92ea45 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,14 @@ sudo raspi-config 选择Interfacing Options -> SPI -> Yes 开启SPI接口 ![image](https://www.waveshare.net/w/upload/1/1e/RPI_open_spi.png) +#### 按需开启 +PiSugar 3 板载一个 RTC,可以通过 hwclock 轻松使用 +将以下内容写入/boot/firmware/config.txt文件: +```Bash +dtoverlay=i2c-rtc,ds3231 +``` +![image](https://github.com/kxgx/2.13-Ink-screen-clock/blob/main/pic/1.png?raw=true) + ### 重启树莓派: sudo reboot 检查 /boot/config.txt,可以看到 'dtparam=spi=on' 已被写入