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

正文內(nèi)容

基于at89c51的路燈控制系統(tǒng)設(shè)計(jì)論文(參考版)

2025-03-01 21:02本頁(yè)面
  

【正文】 C to +85176。 change_data(3)。 } if(tiaozheng ==9) { if(guandeng[2]=1) guandeng[2]。 else guandeng[1]=59。 change_data(3)。 } if(tiaozheng ==7) { if(guandeng[0]=1) guandeng[0]。 else kaideng[2]=59。 change_data(2)。 } if(tiaozheng ==5) { if(kaideng[1]=1) kaideng[1]。 else kaideng[0]=23。 change_data(1)。 } if(tiaozheng ==3) { if(present_time[2]=1) present_time[2]。 else present_time[1]=59。 change_data(1)。 if(tiaozheng ==1) { if(present_time[0]=1) present_time[0]。 } } ///////////////////////////////// if(P1_1==1) if(enablebit==1) { enablebit=0。 26 else guandeng[2]=0。 change_data(3)。 } if(tiaozheng ==8) { if(guandeng[1]59) guandeng[1]++。 else guandeng[0]=0。 change_data(2)。 } if(tiaozheng ==6) { if(kaideng[2]59) kaideng[2]++。 else kaideng[1]=0。 change_data(2)。 } //開燈時(shí)間調(diào)整 if(tiaozheng ==4) { if(kaideng[0]23) kaideng[0]++。 else 25 present_time[2]=0。 change_data(1)。 } if(tiaozheng ==2) { if(present_time[1]59) present_time[1]++。 else present_time[0]=0。 enabletime=0。 change_data(3)。 } if(tiaozheng ==9) { if(guandeng[2]59) guandeng[2]++。 else guandeng[1]=0。 change_data(3)。 } if(tiaozheng ==7) { if(guandeng[0]23) 24 guandeng[0]++。 else kaideng[2]=0。 change_data(2)。 } if(tiaozheng ==5) { if(kaideng[1]59) kaideng[1]++。 else kaideng[0]=0。 change_data(1)。 } if(tiaozheng ==3) { if(present_time[2]59) present_time[2]++。 else present_time[1]=0。 change_data(1)。 if(tiaozheng ==1) { if(present_time[0]23) present_time[0]++。 } if(P1_2==1) if(enablebit==1) { enablebit=0。 if(tiaozheng==2 || tiaozheng==5 || tiaozheng==8) P3=2。 P3=0。 if(tiaozheng6) if(tiaozheng=9) change_data(3)。 if(tiaozheng0) if(tiaozheng=3) change_data(1)。 enabletime=0。 else dengstate=0。 change_deng(dengstate)。) { /*大小燈轉(zhuǎn)換 */ 22 if(P1_3==1) if(enablebit==1) { enablebit=0。 // initt()。 change_data(1)。 EA=1。//20MS中斷一次 TL1=(6553640000)%256。 TR0=1。 TH0=0。 ET1=1。 P1=0x00。 } } } main() { unsigned char dengstate=0。 } if(present_time[0]==xiao[0]) if(present_time[1]==xiao[1]) if(present_time[2]==xiao[2]) { xiaodeng=1。 } if(present_time[0]==kaideng[0]) if(present_time[1]==kaideng[1]) if(present_time[2]==kaideng[2]) { xiaodeng=1。 } if(present_time[0]==guandeng[0]) if(present_time[1]==guandeng[1]) if(present_time[2]==guandeng[2]) { xiaodeng=0。 else present_time[0]=0。 else { present_time[1]=0。 } else { present_time[2]=0。 /***********秒分時(shí)進(jìn)判斷鐘 *****************************/ if(timemeasure==25)//40*50=1s { timemeasure=0。 TR1=1。 } } /***********************定時(shí)器 1**************************/ T1_in() interrupt 3 using 3 { TH1=(6553540000)/256。 } if(enabletime==555) { enabletime=0。 if(flash_cs!=5) flash_cs++。 bb=led[flash_cs]。 20 if(flash_cs==4) P2=239。 if(flash_cs==2) P2= if(flash_cs==0) P2=254。 enabletime++。 } /*********************定時(shí)器 0************************/ T0_in() interrupt 1 using 3 { unsigned char bb。 xiao[1]=00。 present_time[2]=00。 present_time[0]=12。 kaideng[1]=0。 guandeng[2]=0。 } } /***********秒分時(shí)進(jìn)初始化 *****************************/ void init(void) { guandeng[0]=6。 } if(i==2) { dadeng=0。 } if(i==1) { dadeng=0。 } } /***********改變燈的狀態(tài) *****************************/ void change_deng(unsigned i) { if(i==0) { 19 dadeng=1。 x=guandeng[2]。 x=guandeng[2]。 x=guandeng[2]。 x=guandeng[1]。 x=guandeng[1]。 x=guandeng[1]。 x=guandeng[0]。 x=guandeng[0]。 } if(i==3) { x=guandeng[0]。 x=kaideng[2]。 x=kaideng[2]。 x=kaideng[2]。 x=kaideng[1]。 x=kaideng[1]。 x=kaideng[1]。 x=kaideng[0]。 x=kaideng[0]。 } 18 if(i==2) { x=kaideng[0]。 x=present_time[2]。 x=present_time[2]。 x=present_time[2]。 x=present_time[1]。 x=present_time[1]。 x=present_time[1]。 x=present_time[0]。 x=present_time[0]。 if(i==1) { x=present_time[0]。 sbit P1_3 =P1^3。 sbit P1_1 =P1^1。 unsigned int enabletime=0。////燈大的控制 a unsigned char tiaozheng=0。//片選哪個(gè)位 sbit dadeng=P1^4。//片選掃描多少時(shí)間換一個(gè)位顯示 unsigned char timemeasure=0。//燈開燈的時(shí)間 unsigned char xiao[3]。//關(guān)開燈的時(shí)間 unsigned char kaideng[3]。//共地接的 LED unsigned char led[6]。clock, the street lamps will automatically extinguish half, to energysaving effect. After start time shows that the digital time display with six。 參考文獻(xiàn) [1] 賈正松 .單片機(jī)系統(tǒng)復(fù)位電路設(shè)計(jì) [J].中國(guó)期刊全文數(shù)據(jù)庫(kù) ,2021/36 [2] 方龍 ,肖獻(xiàn)保 ,李威 .關(guān)于消除按鍵機(jī)械抖動(dòng)的研究 [A].廣西輕工業(yè) .2021年 1月第 1期 [3] 王春武 ,李巖 ,孟祥英 等 .C51 中對(duì)按鍵的處理方法 [A].吉林師范大學(xué)學(xué)報(bào) (自然科學(xué)版 ).2021 年 11月第 4期 [4] 羅杰,鄒韜平 .單片機(jī)的串行動(dòng)態(tài)掃描顯示電路及編程 [J].船電技術(shù) .1996/03 [5] 李濤 .新型單片機(jī) AT89C2051及其應(yīng)用舉例 [J] 1996年 04期 [6] [7] 黃皎,劉建國(guó),高敏 .單片機(jī) C語(yǔ)言編程應(yīng)注意的若干問(wèn)題 [J].微計(jì)算機(jī)信息 .2021年 19卷第 7期 [8] 梁合慶 .使用單片機(jī) C語(yǔ)言的好處 [J].電子產(chǎn)品世界 .2021/10 [9] 何立民 .MCS— 51系列單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì) [M].北京航空航天大學(xué)出版社 .1990 [10] 譚浩強(qiáng) .C程序設(shè)計(jì) (第三版 )[M].清華大學(xué)出版社 .2021/7 15 AT89C51based control system design of the street College: Physics Mechanical amp。 還要感謝和我一起學(xué)習(xí)的電本班同學(xué)們,在一起四年的學(xué)習(xí)和探討,給我留下了許多難忘的回憶。在整個(gè)學(xué)習(xí)階段中,老師嚴(yán)謹(jǐn)?shù)闹螌W(xué)態(tài)度和以身作則、勤奮塌實(shí)的工作作風(fēng)使我受益菲淺,在此表示我深深的謝意。 7 致謝 首先感謝我的指導(dǎo)老師張衛(wèi)平老師,在做畢業(yè)設(shè)計(jì)和論文的撰寫過(guò)程中,他給予了悉心的指導(dǎo)和耐心教誨,在他的悉心指導(dǎo)下,我的畢 業(yè)設(shè)計(jì)和畢業(yè)論文得以順利完成。 在以后的工作中,我們必須進(jìn)一步深化在實(shí)踐中去豐富理論,完善知識(shí)
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1