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

正文內(nèi)容

基于單片機at89s52的交通燈設(shè)計(參考版)

2024-10-31 11:22本頁面
  

【正文】 } time=second[number]。 if(time==0) { if(number==3) { number=0。 TL0=(6553650000)%256。 time。 } } } } void t0(void) interrupt 1 using 0 { count++。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 case 3: P2=light[3]。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 P0=0xff。 P0=dispcode[(time+5)%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 case 2: 10 P2=light[2]。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 case 1: P2=light[1]。 P0=0xff。 P0=dispcode[(time+5)%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 P0=0xff。 P0=dispcode[time%10]。P13=0。 P11=0。 delay(10)。P14=0。P12=0。 while(1) { switch(number) { case 0: P2=light[0]。 number=0。//開定時器 0 中斷 EA=1。 TR0=1。 TH0=(6553650000)/256。t++){ } } } void main(void)//主程序 { P2=light[4]。 while(ms) { for(t=0。 sbit P10=P1^0。 sbit P13=P1^3。 sbit P11=P1^1。 uchar time。 uchar code light[]={0xdb,0xdd,0x7e,0xbe,0xbd}。 附錄 :參考程序 include define uchar unsigned char define uint unsigned int uchar code dispcode[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}。總之,有好多的東西,只有我們?nèi)ピ囍隽?,才能真正的掌握,只學(xué)習(xí)理論有些東西是很難理解 的,更談不上掌握。 雖然以前還做過搶答器和溫度計的設(shè)計,但 在本次設(shè)計的過程中,我 還 發(fā)現(xiàn) 了 很
點擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1