標(biāo)題: 單片機(jī)可調(diào)數(shù)字鐘鬧鐘整點(diǎn)報(bào)時(shí)功能(帶Proteus仿真電路圖+源碼+pcb圖) [打印本頁]

作者: thomaspang    時(shí)間: 2020-1-3 18:07
標(biāo)題: 單片機(jī)可調(diào)數(shù)字鐘鬧鐘整點(diǎn)報(bào)時(shí)功能(帶Proteus仿真電路圖+源碼+pcb圖)


sbit beep=P2^1;
sbit s2=P1^1;  
sbit s3=P1^2;  
sbit s4=P1^3;  
bit flag;
uchar shi,fen,miao,ri,yue,nin,k;
uchar num,num1,count;
uint i,sh,ge,s,g;
uchar code table[]={"pangchunhuishuai"};
uchar code table1[]={"    00:00:55"};

void delay(uchar time)
{
   uint j;
   for(;time>0;time--)
   for(j=0;j<125;j++);

  }
部分代碼,源程序在附件

用1602LCD設(shè)計(jì)的可調(diào)式電子鐘.rar

2.2 MB, 下載次數(shù): 84, 下載積分: 黑幣 -5






歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1