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

正文內(nèi)容

條帶切割機(jī)控制系統(tǒng)設(shè)計畢業(yè)設(shè)計說明書-資料下載頁

2025-08-04 01:54本頁面
  

【正文】 char shuju)。 //往液晶中寫入數(shù)據(jù)void transfer_out(uchar count,uchar shuju)。 //往液晶中寫入數(shù)據(jù)時 經(jīng)常調(diào)用的子程序///EEPROMvoid ISP_IAP_disable(void)。 /存儲初始化uchar Byte_read(uint byte_addr)。 //讀取void Byte_program(uint byte_addr, uchar isp_iap_data)。 //寫入void Sector_erase(uint sector_addr)。 //扇區(qū)擦除 uchar TAB1[]={0x00,0x04,0x08,0x0C,0x10,0x14,0x18,0x1C,0x20,0x24,0x28,0x2C,0x30,0x34,0x38,0x3C,0x40,0x44,0x48,0x4C,0x50,0x54,0x58,0x5C,0x60,0x64,0x68,0x6C,0x70,0x74,0x78,0x7C}。 //0。 1。 。2。 。3。 。4。 5。 6。 。7。 8。9。 10。 。11。 12。 13。 。14。 。15。 16。 17。18。 19。20。21。 22。 23。24。 。25。 26。 。27。 28。 29。 30。 31 // 0到31,共32個地址代碼uchar TAB2[]={0xBF,0x16,0x7D,0x5F,0xD6,0xDB,0xFB,0x1E,0xFF,0xDF,0x10,0x59}。 //0。1。2。3。4。5。6。7。8。9。熄滅。三 數(shù)碼管顯示對應(yīng)碼xdata uchar TAB3[]={0x0F,0x1F,0x2F,0x3F,0x4F,0x5F,0x6F,0x7F,0x8F,0x9F,0xAF,0xBF,0xCF,0xDF,0xEF,0xFF}。 //0。1。2。3。4。5。6。7。8。9。10。11。12。13。14。15。xdata uchar TAB4[]={0xE0,0xE1,0xE2,0xE3,0xE4,0xE5,0xE6,0xE7,0xE8,0xE9,0xEA,0xEB,0xEC,0xED,0xEE,0xEF,0xF0,0xF1,0xF2,0xF3,0xF4,0xF5,0xF6,0xF7,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF}。 //0。 1。 。2。 。3。 。4。 5。 6。 。7。 8。9。 10。 。11。 12。 13。 。14。 。15。 16。 17。18。 19。20。21。 22。 23。24。 。25。 26。 。27。 28。 29。 30。 31 // 0到31,共32個檔位/////////////////////////////////////////////void main(){ uchar i=0。 IT0=1。EX0=1。EA=1。 TMOD=0X10。ET1=1。 TR1=1。 TH1=(6553610000)/256。TL1=(6553610000)%256。 temper=Byte_read(0x2000)*1000+Byte_read(0x2001)*10+Byte_read(0x2002)。 temper1=Byte_read(0x2200)*1000+Byte_read(0x2201)*10+Byte_read(0x2202)。 temper2=Byte_read(0x2A00)*1000+Byte_read(0x2A01)*10+Byte_read(0xA202)。 dangwei2=0。 dangwei1=1。 dangwei=(dangwei2/2)+1。 LED=0。 P3_7=1。 P3_6=1。 P0=((P0|0xF0)amp。TAB3[dangwei11])。 P2=((P2|0x1F)amp。TAB4[dangwei2])。 LCD_init()。 allscreendispaly()。 while(1) { dangwei=(dangwei2/2)+1。 P0=((P0|0xF0)amp。TAB3[dangwei11])。 P2=((P2|0x1F)amp。TAB4[dangwei2])。 if(gunrun==1) {P3_7=0。gunstop=0。 } else {P3_7=1。gunstop=1。} if(tuorun==1) {P3_6=0。 tuostop=0。} else {P3_6=0。tuostop=1。} if(bj==0) {allscreendispaly()。bj=1。} if(XW==0) { flag2=1。status=4。 gunrun=0。tuorun=0。gunstop=1。tuostop=1。 count4=500。 } else manpan=0。 fmq=1。 if(flag2==1){if(count250) manpan=1。 else manpan=0。} if(flag1==1) { if(status==0) { if(jianzhi==16) { gunrun=!gunrun。gunstop=!gunstop。gun=gunrun。 } if(jianzhi==17) { dangwei2++。count4=50。 if(dangwei2=31) {dangwei2=31。count4=0。} } if(jianzhi==18) { if(dangwei20) {dangwei2。count4=50。} if(jianzhi==19){ tuorun=!tuorun。tuostop=!tuostop。 tuo=tuorun。 } if(jianzhi==20) { dangwei1++。 count4=50。 if(dangwei1=16) {dangwei1=16。count4=0。} } if(jianzhi==21) if(dangwei11) {dangwei1。count4=50。} } { gunrun=0。tuorun=0。gunstop=1。tuostop=1。 status=0。 } if(jianzhi==15) //按下了清零 temper=0。 Sector_erase(0x2005)。 Byte_program(0x2000,temper/1000)。 Byte_program(0x2001,temper%1000/10)。 Byte_program(0x2002,temper%10)。 } if(jianzhi==12) {LED=!LED。} if(jianzhi==10amp。amp。gunrun==0) {status=1。 temper2=0。temper1=0。} if(jianzhi==13) {status=2。} } else if(status==1) //編輯狀態(tài) (設(shè)定長度值) { if((jianzhi=0)amp。amp。(jianzhi=9)) //按下了09 數(shù)字鍵 { a1=a2。 a2=a3。 a3=a4。 a4=a5。 a5=jianzhi。 temper1=a1*10000+a2*1000+a3*100+a4*10+a5。 } //按下了刪除 { gunrun=0。tuorun=0。gunstop=1。tuostop=1 status=0。 a1=0。a2=0。a3=0。a4=0。a5=0。 temper1=a1*10000+a2*1000+a3*100+a4*10+a5。 } if(jianzhi==11) //按下了確認(rèn) { status=0。 a1=0。a2=0。a3=0。a4=0。a5=0。 Sector_erase(0x2205)。 Byte_program(0x2200,temper1/1000)。Byte_program(0x2201,temper1%1000/10)。 Byte_program(0x2202,temper1%10)。 } } else if(status==2) 編輯狀態(tài)(設(shè)定延時值) { if((jianzhi0)amp。amp。(jianzhi=9)) //按下了19 數(shù)字鍵 { time=jianzhi。 yanshi=time。 Sector_erase(0x2805)。 Byte_program(0x2800,yanshi)。 } if(jianzhi==11) //按下了確認(rèn) } } else if(status==3)切割長度等于設(shè)定長度狀態(tài) { if(jianzhi==14) //按下了刪除 { gunrun=0。tuorun=0。gunstop=1。tuostop=1。 status=0。 a1=0。a2=0。a3=0。a4=0。a5=0。 temper1=a1*10000+a2*1000+a3*100+a4*10+a5。 } if(jianzhi==11) //按下了確認(rèn) { temper2=0。 status=0。a1=0。a2=0。a3=0。a4=0。a5=0。yanshi=Byte_read(0x2800)。 } } else if(status==4) //滿盤狀態(tài) { if(jianzhi==14) //按下了刪除 { status=0。 gunrun=0。tuorun=0。gunstop=1。tuostop=1。 dangwei2=0。dangwei1=1。 flag2=0。 } if(jianzhi==11) //按下了確認(rèn) { gunrun=gun。 tuorun=tuo。 yanshi=Byte_read(0x2800)。 status=0。 flag2=0。 temper2=0。 } } flag=0。 jianzhi=24。 } } } //外部中斷子程序 void yj(void) interrupt 0{ if(gunrun) { temper++。temper2++。 Sector_erase(0x2005)。 Byte_program(0x2000,temper/1000)。Byte_program(0x2001,temper%1000/10)。 Byte_program(0x2002,temper%10)。 Sector_erase(0x2A05)。Byte_program(0x2A00,temper2/1000)。Byte_program(0x2A01,temper2%1000/10) Byte_program(0x2A02,temper2%10)。 if(temper99999) temper=0。if((temper2==temper1)amp。amp。(temper10)) { count4=500。 status=3 。 } } } /
點擊復(fù)制文檔內(nèi)容
職業(yè)教育相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1