文件名称:DS1302CLOCKPROGRAME
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.38kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
今天写了一个基于DS1302的时钟程序,起初功能比较复杂,后来经过一再压
缩,实现了下面的这个可以说是大大简化了的时钟,这里没有多字节写出和
多字节读入,没有理会年月日,只用了两个小子程序来实现单字节的读入和
写出,再用chai子程序把字节拆开,最后用DIS来显示出来,拿出来共享一 下。
(这里的写出子程序主程序中没有用到,需要时可以用来设置时间,我觉得
设置时间这个功能是基本的,遂保留)-Today, wrote a program based on the DS1302 clock initially feature more complex and after repeated pressure
Reduction to achieve this the following can be said to greatly simplify the clock, there are no multi-byte write and
Multi-byte read, without regard to date, only two procedures to achieve the guy single-byte read in and
To write, and then chai subroutine to bytes apart, and finally DIS to show up, look out to share.
(Where the main program is not used to write subroutines when needed can be used to set the time, I think
Set the time this function is fundamental, accordingly reservations)
缩,实现了下面的这个可以说是大大简化了的时钟,这里没有多字节写出和
多字节读入,没有理会年月日,只用了两个小子程序来实现单字节的读入和
写出,再用chai子程序把字节拆开,最后用DIS来显示出来,拿出来共享一 下。
(这里的写出子程序主程序中没有用到,需要时可以用来设置时间,我觉得
设置时间这个功能是基本的,遂保留)-Today, wrote a program based on the DS1302 clock initially feature more complex and after repeated pressure
Reduction to achieve this the following can be said to greatly simplify the clock, there are no multi-byte write and
Multi-byte read, without regard to date, only two procedures to achieve the guy single-byte read in and
To write, and then chai subroutine to bytes apart, and finally DIS to show up, look out to share.
(Where the main program is not used to write subroutines when needed can be used to set the time, I think
Set the time this function is fundamental, accordingly reservations)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DS1302CLOCKPROGRAME.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.