Changes

Jump to navigation Jump to search

KVM-A3

450 bytes removed, 12:19, 7 August 2023
</details>
<details>
<summary>How to enable RTC?</summary>
<p>A: Firstly, insert the C1220 button battery. run the following command:</p>
<pre>
rw
sudo nano /boot/config.txt
#Then change the line: dtoverlay=i2c-rtc,pcf8563 to dtoverlay=i2c-rtc,ds1307
 
#Test RTC
#Display the current time of the Raspberry Pi
date
#Write the time of Raspberry Pi to DS1307
reboot before next step
sudo hwclock -w
 
#Read the time of DS1307
sudo hwclock -r
ro
</pre>
</details>
<details>
</html>
 
==References==

Navigation menu