Adding an RTC
暂无分享,去创建一个
When I first looked at the Raspberry Pi there was one missing piece of hardware that stood out to me. This little piece of hardware has been on pretty much every system you may have used, especially in recent years. What exactly is this missing piece of hardware? It’s the real-time clock, or RTC for short. In most modern computer systems you would be hard-pressed not to find the RTC with a quick glance. What you would notice is that little silver coin — shaped battery. Why would the RTC chip need a battery? The main function of the RTC is to keep the current time and date, which has been set into the RTC chip.