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

正文內(nèi)容

碰數(shù)電子玩具的設(shè)計(jì)畢業(yè)設(shè)計(jì)-wenkub

2023-07-12 12:16:54 本頁面
 

【正文】 本次設(shè)計(jì)我們采用的是單片機(jī)AT89C51作為主芯片。當(dāng)按鍵按下是三個(gè)數(shù)碼管停止時(shí),若顯示的三個(gè)數(shù)據(jù)相同則播放游戲成功的語音;反之播放游戲失敗的語音。5)、若1分鐘到了,還沒有按下“停止”鍵,停止計(jì)時(shí),同時(shí)系統(tǒng)發(fā)出“game over”的語音。2)、按下“開始”鍵,系統(tǒng)開始計(jì)時(shí),同時(shí)三位數(shù)碼管開始按不同速度循環(huán)顯示“0~9”十個(gè)數(shù)字,并停留3秒,直到按下“停止”鍵或計(jì)時(shí)結(jié)束。正文著重將設(shè)計(jì)的原理與過程進(jìn)行了詳細(xì)的解釋與說明。樂山師范學(xué)院畢業(yè)論文(設(shè)計(jì))本科生畢業(yè)設(shè)計(jì)報(bào)告設(shè)計(jì)題目: 碰數(shù)電子玩具的設(shè)計(jì) 碰數(shù)電子玩具的設(shè)計(jì) 物理與電子工程學(xué)院 電子信息工程 [摘要]該碰數(shù)電子玩具設(shè)計(jì)以數(shù)字電子技術(shù)為基礎(chǔ)、at89c51單片機(jī)為核心,結(jié)合數(shù)碼管、語音芯片等制作形成。[關(guān)鍵詞]碰數(shù)電子玩具。游戲時(shí)間(計(jì)時(shí)時(shí)間)設(shè)為1分鐘。2設(shè)計(jì)方案2.1基本方案按照實(shí)驗(yàn)設(shè)計(jì)[1] 李堅(jiān)、(第一版) [M],科學(xué)出版社, . 的要求,采用at89c51單片機(jī)[2] (第一版) [M],機(jī)械工業(yè)出版社, . 作為主控芯片,結(jié)合兩種七段數(shù)碼管、語音芯片、按鍵、喇叭、74hc573[3] (第五版) [M],高等教育出版社, . 等進(jìn)行實(shí)驗(yàn)設(shè)計(jì)。一分鐘計(jì)時(shí)時(shí)間內(nèi),可重復(fù)進(jìn)行碰數(shù)游戲,一旦游戲成功或游戲時(shí)間結(jié)束則該游戲結(jié)束。Atmel公司的AT89C51是一種低功耗、高性能的片內(nèi)含有4kB快閃可編程/擦除只讀存儲器(FPER—OM)的8位CMOS微控制器,使用高密度、非易失存儲器技術(shù)制造,并且與80C51引腳和指令系統(tǒng)完全兼容。這種電路可以驅(qū)動(dòng)大電容或低阻抗負(fù)載,可以直接與系統(tǒng)總線接口并驅(qū)動(dòng)總線,而不需要外接口。 //預(yù)先設(shè)定定時(shí)器初值為10ms TL0=(6553610000)%256。 //定時(shí)器0啟動(dòng)計(jì)數(shù)} 按鍵掃描void keyscan(void){ static byte ss=0。(fail_flg||win_flg)) { num_0=0。music2=0。 game_time=60。 while(!key1)。!fail_flgamp。 if(ss%2==0) { start_flg=0。amp。 music3=0。 } } else { start_flg=1。 } while(!key2)。 display(num_1,3)。 display(game_time/10,0)。 }void display(byte num ,byte wei){ P3=addr[wei]。void timer0() interrupt 1 { static byte tt_0=0。amp。!fail_flg) tt_0++。 num_1++。 } } } if(systemtime100) //100*10ms { systemtime=0。通過初始化的10ms乘以systemtime100再乘以設(shè)定的game_time60從而實(shí)現(xiàn)一分鐘定時(shí)。 music3=0。 three a digital tube running at different rates, and use two buttons control the digital control and stop running when the same data is displayed three produce successful voice, whereas failure playback voice. One minute time period, if no success can be repeated for the game, if successful, or time to stop the game is over. Text focuses on the design principles and explain the process in detail and description.[Key words] touch number MCU 附一: 源程序includeinclude define byte unsigned char define word unsigned intsbit dula=P2^7。sbit music1=P2^3。 byte code addr[6]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf}。 //游戲時(shí)間byte start_flg=0。 //成功標(biāo)志byte fail_flg=0。 //數(shù)碼管位顯示 void keyscan(void)。 TH0=(6553610000)/256。 TR0=1。 music3=0。 time_flg=0。 } } }//******************************************************************// void timer0() interrupt 1 { static byte tt_0=0。amp。!fail_flg) tt_0++。 num_1++。 } } } if(systemtime100) //100*10ms { systemtime=0。 if(key1==0) { delay(3)。 num_1=0。 game_time=60。 while(!key1)。!fail_flgamp。 //開始計(jì)時(shí) if(ss%2==0) {
點(diǎn)擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1