基于protues搶答器仿真

基于protues搶答器仿真

ID:6807216

大?。?06.00 KB

頁(yè)數(shù):38頁(yè)

時(shí)間:2018-01-26

基于protues搶答器仿真_第1頁(yè)
基于protues搶答器仿真_第2頁(yè)
基于protues搶答器仿真_第3頁(yè)
基于protues搶答器仿真_第4頁(yè)
基于protues搶答器仿真_第5頁(yè)
資源描述:

《基于protues搶答器仿真》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在工程資料-天天文庫(kù)。

1、基于protues的搶答器電路仿真一個(gè)基于protues的搶答器電路仿真,共四路搶答選擇,四路LED燈分別顯示獲得搶答權(quán)的選手,12864顯示選手分?jǐn)?shù),由主持人宣布并通過(guò)按鍵控制開(kāi)始搶答及加減分,清零分?jǐn)?shù)等操作。操作:上電后顯示歡迎界面,第一次按開(kāi)始鍵就緒,第二次按開(kāi)始鍵開(kāi)始搶答,取得搶答權(quán)的選手相應(yīng)LED燈會(huì)亮,回答結(jié)束后,計(jì)分后燈滅。由調(diào)試時(shí)間緊張,程序有點(diǎn)混亂,只可參考!可共同商討優(yōu)化QQ:.仿真電路:上電后,顯示歡迎界面:38主持人第一次按開(kāi)始鍵,就緒。各小組初始分?jǐn)?shù)均為零,最低分?jǐn)?shù)也為零,最高分?jǐn)?shù)為一百分。主持人按開(kāi)始鍵,A搶答答

2、題權(quán),A指示燈亮。38A回答正確,主持人按加分鍵,A選手(第一組)得十分(A回答錯(cuò)誤,主持人可按減分鍵減十分,為0分時(shí)不減)。主持人讀完題目后,可按開(kāi)始鍵開(kāi)始下一題搶答,也可按清零鍵結(jié)束此輪。38附程序:3838constcharcodehzk[]={//0(0)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//00x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x2

3、0,0x20,0x10,0x0F,0x00,//00x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0(49)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//10x00,0x10,0x10,0xF8,0x00,0x00,0x00,0x00,0x00,0x20,0x20,0x3F,0x20,0x20,0x00,0x0

4、0,//00x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0(97)380x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//20x00,0x70,0x08,0x08,0x08,0x88,0x70,0x00,0x00,0x30,0x28,0x24,0x22,0x21,0x30,0x00,//00x00,0xE0,0x1

5、0,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0(145)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//30x00,0x30,0x08,0x88,0x88,0x48,0x30,0x00,0x00,0x18,0x20,0x20,0x20,0x11,0x0E,0x00,//00x00,0xE0,0x10,0x08,0x08,0x10,0x

6、E0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//0(193)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//40x00,0x00,0xC0,0x20,0x10,0xF8,0x00,0x00,0x00,0x07,0x04,0x24,0x24,0x3F,0x24,0x00,//00x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0

7、x10,0x20,0x20,0x10,0x0F,0x00,//0(241)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,0x0F,0x00,//50x00,0xF8,0x08,0x88,0x88,0x08,0x08,0x00,0x00,0x19,0x21,0x20,0x20,0x11,0x0E,0x00,//00x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10,

8、0x0F,0x00,38//0(289)0x00,0xE0,0x10,0x08,0x08,0x10,0xE0,0x00,0x00,0x0F,0x10,0x20,0x20,0x10

當(dāng)前文檔最多預(yù)覽五頁(yè),下載文檔查看全文

此文檔下載收益歸作者所有

當(dāng)前文檔最多預(yù)覽五頁(yè),下載文檔查看全文
溫馨提示:
1. 部分包含數(shù)學(xué)公式或PPT動(dòng)畫(huà)的文件,查看預(yù)覽時(shí)可能會(huì)顯示錯(cuò)亂或異常,文件下載后無(wú)此問(wèn)題,請(qǐng)放心下載。
2. 本文檔由用戶上傳,版權(quán)歸屬用戶,天天文庫(kù)負(fù)責(zé)整理代發(fā)布。如果您對(duì)本文檔版權(quán)有爭(zhēng)議請(qǐng)及時(shí)聯(lián)系客服。
3. 下載前請(qǐng)仔細(xì)閱讀文檔內(nèi)容,確認(rèn)文檔內(nèi)容符合您的需求后進(jìn)行下載,若出現(xiàn)內(nèi)容與標(biāo)題不符可向本站投訴處理。
4. 下載文檔時(shí)可能由于網(wǎng)絡(luò)波動(dòng)等原因無(wú)法下載或下載錯(cuò)誤,付費(fèi)完成后未能成功下載的用戶請(qǐng)聯(lián)系客服處理。