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

正文內(nèi)容

基于at89c51單片機簡易計算器的設(shè)計(參考版)

2025-06-30 17:24本頁面
  

【正文】 同時在設(shè)計的過程中發(fā)現(xiàn)了自己的不足之處,對以前所學過的知識理解得不夠深刻,掌握得不夠牢固,還要斷學習單片機的相關(guān)知識。不僅鞏固了以前所學過的知識,而且學到了很多在書本上所沒有學到過的知識,掌握了一種系統(tǒng)的研究方法,可以進行一些簡單的編程。 設(shè)計基于單片機設(shè)計簡易計算器,對于我這個實踐中的新手來說,這是一次考驗。隨著科學技術(shù)發(fā)展的日新日異,單片機已經(jīng)成為當今計算機應(yīng)用中空前活躍的領(lǐng)域, 在生活中可以說得是無處不在。如需繼續(xù)計算,繼續(xù)按照上述步驟輸入數(shù)據(jù)即可。 }}四、設(shè)計總結(jié)軟件調(diào)試在軟件調(diào)試的過程中,一開始沒有做數(shù)值溢出方面的控制,導(dǎo)致LED顯示的輸入數(shù)據(jù)或計算結(jié)果與實際不相符。 } } } }void main() //主函數(shù){ while(1) { keyscan()。 temp=tempamp。 } break。flag==0) { t=0。 case 0x77: if(t!=0amp。 flag=0。 in2=0。 } x=out。 case 4: if(in2) out=in1/in2。 case 3: out=in1*in2。 case 2: out=in1in2。 case 0xb7: //如果得到符號位 switch(flag) { case 1: out=in1+in2。 x=in2。 x=in1。 case 0xd7: if(t6) { t++。 x=0。 out=0。 in1=0。 if(temp!=0xf0) //證明有鍵按下,if語句是為了讓鍵盤松開 { temp=P1。 temp=tempamp。 if(temp!=0xf0) { delay(8)。 temp=tempamp。 } } } P1=0xf7。 temp=tempamp。 } break。flag==0) { t=0。 case 0x7b: if(t!=0amp。 x=in2。 x=in1。 case 0xbb: if(t6) { t++。 x=in2。 x=in1。 case 0xdb: if(t6) { t++。 x=in2。 x=in1。 switch(temp) { case 0xeb: if(t6) { t++。0xf0。 //消除抖動 temp=P1。0xf0。 temp=P1。0xf0。 } while(temp!=0xf0) { temp=P1。 flag=3。amp。 } } break。 } else { in2=in2*10+6。 if(flag==0) { in1=in1*10+6。 } } break。 } else { in2=in2*10+5。 if(flag==0) { in1=in1*10+5。 } } break。 } else { in2=in2*10+4。 if(flag==0) { in1=in1*10+4。 if(temp!=0xf0) { temp=P1。 temp=tempamp。 if(temp!=0xf0) { delay(8)。 temp=tempamp。 } } } P1=0xfd。 temp=tempamp。 } break。flag==0) { t=0。 case 0x7e: if(t!=0amp。 x=in2。 x=in1。 case 0xbe: if(t6) { t++。 x=in2。 x=in1。
點擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1