欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136
標題:
proteus中ds1302時鐘程序仿真
[打印本頁]
作者:
51黑ff
時間:
2016-8-20 21:00
標題:
proteus中ds1302時鐘程序仿真
proteus ds1302時鐘程序仿真原理圖
0.png
(38.2 KB, 下載次數: 68)
下載附件
2016-8-20 20:59 上傳
0.png
(65.35 KB, 下載次數: 84)
下載附件
2016-8-20 20:58 上傳
proteus中ds1302時鐘程序仿真.rar
(106.41 KB, 下載次數: 31)
2016-8-20 21:01 上傳
點擊文件名下載附件
下載積分: 黑幣 -5
部分時鐘程序預覽:
#include <REGX52.H>
#include "LCD1602.h"
#include "DS1302.h"
void Delay1ms(unsigned int count)
{
unsigned int i,j;
for(i=0;i<count;i++)
for(j=0;j<120;j++);
}
main()
{
SYSTEMTIME CurrentTime;
LCD_Initial();
Initial_DS1302();
GotoXY(0,0);
Print("Date: ");
GotoXY(0,1);
Print("Time: ");
while(1)
{
DS1302_GetTime(&CurrentTime);
DateToStr(&CurrentTime);
TimeToStr(&CurrentTime);
GotoXY(6,0);
Print(CurrentTime.DateString);
GotoXY(6,1);
Print(CurrentTime.TimeString);
Delay1ms(300);
}
}
復制代碼
作者:
xtt2543503943
時間:
2016-8-22 14:45
可以,下了好使
歡迎光臨 (http://www.raoushi.com/bbs/)
Powered by Discuz! X3.1