freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于單片機(jī)的實(shí)時(shí)時(shí)鐘畢業(yè)論文-資料下載頁(yè)

2025-06-27 19:40本頁(yè)面
  

【正文】 { while(!s2)。 //秒增temp1++。if(temp1==60)temp1=0。miao()。 }if(heng==1)洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文27{ while(!s2)。 //分增temp2++。if(temp2==60)temp2=0。fen()。}if(heng==2){while (!s2)。 //時(shí)增temp3++。if(temp3==24)temp3=0。shi()。}if(heng==3){while (!s2)。 //星期增temp4++。if(temp47)temp4=1。tab1[6]=temp4%10。}if(heng==4){while(!s2)。 //日增temp5++。if (temp6==1||temp6==3||temp6==5||temp6==7||temp6==8||temp6==10||temp6==12)//大月jia()。if (temp6==4||temp6==6||temp6==9||temp6==11)//小月xiaoer()。if (temp6==2) //2月份洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文28eryueer()。ri()。 }if(heng==5){while(!s2)。 //月增temp6++。if(temp6==13)temp6=1。yueyue()。}if(heng==6){while(!s2)。 //年增temp7++。nian()。}}void jian() //31天{ if(temp51)temp5=31。}void xiaoerer() //30天{ if(temp51)temp5=30。}void eryueerer() //2月份{ if(temp7%4==0amp。amp。temp7%100!=0||temp7%400==0)//判斷是否為閏年{ if(temp529)temp5=1。if(temp51) //閏年temp5=29。}else //平年{ if(temp528)洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文29temp5=1。if(temp51)temp5=28。}}void key02() //下鍵按下減值的調(diào)整{if(heng==0){while(!s3)。 //秒減temp1。if(temp10)temp1=59。miao()。}if(heng==1){while(!s3)。 //分減temp2。if(temp20)temp2=59。fen()。}if(heng==2){while(!s3)。 //時(shí)減temp3。if(temp30)temp3=23。shi()。}if(heng==3){while(!s3)。 //星期減temp4。洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文30if(temp41)temp4=7。tab1[6]=temp4%10。}if(heng==4){while(!s3)。 //日減temp5。if (temp6==1||temp6==3||temp6==5||temp6==7||temp6==8||temp6==10||temp6==12)//大月jian()。if (temp6==4||temp6==6||temp6==9||temp6==11)//小月xiaoerer()。if (temp6==2) //2月份eryueerer()。ri()。}if(heng==5){while(!s3)。 //月減temp6。if(temp61)temp6=12。yueyue()。} if(heng==6){while(!s3)。 //年減temp7。nian()。 }}void key03() //左鍵按下左移調(diào)整洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文31{ while(!s4)。if(heng==0)heng=7。heng。}void key04() //右鍵按下右移調(diào)整{ while(!s5)。heng++。if(heng==7)heng=0。}void key() //判斷 SSSS5 是否有鍵按下{ if((P1amp。0xff)!=0xff){ delay(10)。if((P1amp。0xff)!=0xff) {if(P1==0xf7)key01()。//上鍵if(P1==0xdf)key02()。//下鍵if(P1==0xef)key03()。//左鍵if(P1==0xbf)key04()。//右鍵 }}}void display(uint temperature)//顯示子程序{uchar j。tab1[13]=temperature/100。 tab1[14]=temperature/10%10+10。 tab1[15]=temperature%10。 if(b==1){key()。 //中間鍵按下,停止調(diào)整顯示P2=tab2[heng]。 //LED亮}洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文32for(j=0。j16。j++){SBUF=tab[tab1[j]]。while(!TI)。TI=0。}delay(5)。}void yue(){ temp6++。if(temp612){ temp6=1。temp7++。}}void jin() //31天{ if(temp531){ temp5=1。 yue()。}}void eryue() //2 月份{ if(temp7%4==0amp。amp。temp7%100!=0||temp7%400==0)//判斷是否為閏年{ if(temp529) //是閏年,2 月份的天數(shù){ temp5=1。 yue()。 }} else //是平年,2 月份的天數(shù){ if(temp528){ temp5=1。 yue()。 }洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文33}}void xiao(){ if(temp530) //平常小月 30天的天數(shù)(不包括 2月份){ temp5=1。 yue()。}}void timer1() interrupt 3{uint t。t++。if(t==3600){ t=0。temp1++。if(temp1==60) //秒{ temp1=0。temp2++。if(temp2==60) //分{ temp2=0。temp3++。 //時(shí)if(temp3==24){ temp3=0。temp4++。temp5++。 //星期if(temp4==8)temp4=1。if (temp6==1||temp6==3||temp6==5||temp6==7||temp6==8||temp6==10||temp6==12)jin()。if (temp6==4||temp6==6||temp6==9||temp6==11)xiao()。if (temp6==2)eryue()。nian()。yueyue()。ri()。洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文34tab1[6]=temp4%10。}shi()。}fen()。}miao()。}}void zhongduan() //中間按鍵的停止與開(kāi)始{if(s1==0) //判斷 S1是否按下{ delay(5)。if(s1==0)while(!s1)。b++。if(b==1){TR1=0。 //定時(shí)器停止heng=0。}if(b==2){ TR1=1。 //定時(shí)器工作b=0。P2=0xff。//LED 滅}}}void main() //主函數(shù){ init()。while(1){ display(ReadTemperature())。 //顯示zhongduan()。 //調(diào)時(shí)}洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文35附錄 2系統(tǒng)原理圖洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文36R9 200R6 1kEA/VPP31X119X218RESET9RD/P3717WR/P3616P32/INT012P33/INT113P34/T014P35/T115P101P112P123P134P145P156P167P178P0039P0138P0237P0336P0435P0534P0633P0732P2021P2122P2223P2324P2425P2526P2627P2728PSEN29ALE/PRDG30P31/TXD11P30/RXD10U1 AT89C51S1 關(guān)關(guān)關(guān)關(guān)setkey30關(guān)關(guān)關(guān)關(guān)VCCdownkey關(guān)關(guān)關(guān)關(guān)selectkey 關(guān)關(guān)關(guān)關(guān)1 2J10 CON2upkey關(guān)關(guān)關(guān)關(guān)Y1 CRYSTAL+C1 22UFVCC12345J1 CON5 C2 關(guān)關(guān)關(guān)關(guān) C3 關(guān)關(guān)關(guān)關(guān)12345J2 CON51 2 3 4 5 6 7 8J3 CON8 1 2 3 4 5 6 7 8J4 CON8VCCmiaoshanR7 1k VCCring36miaoshanring36cb D5 miaoshanD24 miaoshan112233445566778899101011111212J7 Component_1112233445566778899101011111212J8 Component_11 2 3 4 5 6 7 8J5CON81 2 3 4 5 6 7 8J6 CON81 2 3 4 5 6 7 8 9J9 CON9eedddpdpccgg15bffR8 100aR10 10ka234VCC678Q1 PNP1bU3 BELL1+C7 10uf2345678a b c d e f gdpaR1 dsetringkey 關(guān)關(guān)關(guān)關(guān)e f g VCCR5 VCCR4 R2 R3 附錄 3系統(tǒng) PCB圖洛陽(yáng)師范學(xué)院畢業(yè)設(shè)計(jì)/論文37
點(diǎn)擊復(fù)制文檔內(nèi)容
化學(xué)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1