RTC_DS1307_DS3231庫 -- arduino實時時鐘庫(已支持ESP8266)
GITHUB 工程地址:RTC by Makuna
支持設備
DS1307
Full support including squarewave output pin and memory access -- 全部功能支持,包括方波輸出和內存訪問
DS3231
Full support including squarewave output pin and alarms. -- 全部功能支持,包括方波輸出和鬧鐘
示例
- - DS1307_Memory: This demonstrates how to write and read data from the extended memory of the device. This memory is retained even after the device has lost power./演示如何讀寫數據從設備的擴展內存。即使設備掉電內存依然保存
- - DS1307_Simple: This demonstrates how to set and get the date and time from the device./演示了如何在設備上設置和獲取日期和時間
- - DS3231_Alarms: This demonstrates how to set the alarms and check when the alarms are triggered. This includes using the squarewave output to trigger an interrupt./演示如何設置鬧鐘和檢查何時觸發鬧鐘。這包含使用方波輸出觸發一個中斷
- - DS3231_Simple: This demonstrates how to set and get the date and time from the device./演示如何在設備上設置和獲取日期和時間。
- - DS3231_StoreIt: This demonstrates how to turn off the Rtc clock so that the onboard battery will last longer./演示如何關閉RTC時鐘以保證板載電池能持續更長時間
|