DS3231库
ds3231.zip
DS3231是低成本、高精度I2C实时时钟(RTC),具有集成的温补晶振(TCXO)和晶体。(在以下的函数描述中,闹钟即指代中断)
函数
DS3231()
getTime()
getSecond()
getMinute()
getHour()
getDoW()
getDate()
getMonth()
getYear()
setSecond()
setMinute()
setHour()
setDoW()
setDate()
setMonth()
setYear()
setClockMode()
getTemperature()
getA1Time()
getA2Time()
setA1Time()
setA2Time()
turnOnAlarm()
turnOffAlarm()
checkAlarmEnabled()
checkIfAlarm()
enableOscillator()
enable32kHz()
oscillatorCheck()