“RTC DS1307 DS3231库”的版本间的差异
来自YFRobotwiki
| 第42行: | 第42行: | ||
'''DS1307 函数。''' | '''DS1307 函数。''' | ||
| − | :- <font color="forestgreen">Begin</font> | + | :- <font color="forestgreen">Begin()</font> -- 初始化 |
| − | + | ::参数 :无 | |
| − | + | ::返回 :无 | |
| − | + | ||
| − | ::参数 | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | ::返回 | + | |
:-[[RtcDS1307.GetIsRunning()| GetIsRunning()]] | :-[[RtcDS1307.GetIsRunning()| GetIsRunning()]] | ||
| 第73行: | 第65行: | ||
'''DS3231 函数''' | '''DS3231 函数''' | ||
| − | :- <font color="forestgreen">Begin</font> | + | :- <font color="forestgreen">Begin()</font> -- 初始化 |
| + | ::参数:无 | ||
| + | ::返回:无 | ||
| − | + | :-<font color="forestgreen">IsDateTimeValid()</font> -- 检查日期时间是否有效 | |
| − | + | ::参数:无 | |
| − | :- | + | ::返回:bool |
:-[[RtcDS3231.GetIsRunning()| GetIsRunning()]] | :-[[RtcDS3231.GetIsRunning()| GetIsRunning()]] | ||
| 第83行: | 第77行: | ||
:-[[RtcDS3231.SetIsRunning()| SetIsRunning()]] | :-[[RtcDS3231.SetIsRunning()| SetIsRunning()]] | ||
| − | :- | + | :-<font color="forestgreen">SetDateTime()</font> -- 设置日期时间 |
| + | ::参数:const RtcDateTime& dt | ||
| + | ::返回:无 | ||
| − | :- | + | :-<font color="forestgreen">GetDateTime()</font> -- 获取日期时间 |
| + | ::参数:无 | ||
| + | ::返回:RtcDateTime | ||
| − | :-[[RtcDS3231.GetTemperature()| GetTemperature]] | + | :-[[RtcDS3231.GetTemperature()| GetTemperature()]] |
:-[[RtcDS3231.Enable32kHzPin()| Enable32kHzPin()]] | :-[[RtcDS3231.Enable32kHzPin()| Enable32kHzPin()]] | ||
2016年11月17日 (四) 15:03的版本
|
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 DS1307 函数。
DS3231 函数
|
更多建议和问题欢迎反馈至 YFRobot论坛