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

正文內(nèi)容

出租車計價器課程報告-閱讀頁

2025-08-05 23:36本頁面
  

【正文】 else if(key_wei==3) //讀取顯示數(shù)據(jù)鍵值 { if(key0==0) { display()。 if(key0==0) { while(!key0) display()。 } if(shezhi_1==2) shezhi_1=0。 } return shezhi。 P2=0x00。 zongjine=0。 dengdai=0。 danjia1=read_key(1)。 //讀取單程,雙程 danjia=20(5*danjia2)。 //開總中斷 EX0=1。 //開外部中斷1 IT0=1。 //觸發(fā)方式下降沿 PX1=1。 TH0=(655361000)/256。 //填入1ms初值 ET0=1。 //開定時器T0} /************************* 總金額計算 *****************************/ void jisuan() { uint a。 zongjine=(danjia*a)/20+50。 //起步公里內(nèi)金額計算 } /********************************** 數(shù)碼管顯示 總金額、里程數(shù) ***********************************/void display_1(uint zongjine_0,uint licheng_0) { uchar jbai,jshi,jge,lshi,lge,lxiao。 //數(shù)碼管位置分配 jshi=(zongjine_0%100)/10。 lshi=licheng_0/100。 lxiao=licheng_0%10。 //數(shù)碼管動態(tài)顯示 P2=0xff。 P0=table[jbai]。 p11=1。 P0=table[jshi]|0x80。 p12=1。 P0=table[jge]。 p13=1。 P0=table[lshi]。 p21=1。 P0=table[lge]|0x80。 p22=1。 P0=table[lxiao]。 p23=1。 uchar dshi,dge。 dge=danjia_0%10。 gfen=fen_0%10。 gmiao=miao_0%10。 P2=0xff。 P0=table[sfen]。 p31=1。 P0=table[gfen]|0x80。 p11=1。 P0=table[smiao]。 p12=1。 P0=table[gmiao]。 p13=1。 P0=table[dshi]|0x80。 p22=1。 P0=table[dge]。 p23=1。 else if(qiehuan==1) display_2(fen,miao,danjia)。 qiehuan=0。 jisuan()。 display()。 licheng_2++。 if(lunquan==20) { lunquan=0。 } } void int1(void) interrupt 2 using 2 //外中斷1的中斷編號為2 暫停{ EA=0。 display()。 if(zanting==1) { deng1=0。 ET0=0。 EX0=0。 EA=1。 TH0=(655361000)/256。 ET0=1。 } } void timer0() interrupt 1 //定時器中斷0{ TH0=(655361000)/256。 if(temp_2==0) aa=licheng_2。 if(temp_2==1000) //1s無反應(yīng)進入等待計費 { bb=licheng_2。 if(aa==bb) { miao++。 fen++。 licheng++。 licheng_1+=10
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1