seco
ds10seco
dsiftheco
testa
ttoa
sweri
thebutto
pressedthee
dofthecou
tdow
thescree
displayfirstplayera
swer
umberif
obodya
swerthequestio
withi
10seco
dsthewheelthea
sweri
thee
dWhe
thehostpresstheresetbutto
thescree
displayclearwaiti
gforthea
sweri
the
extrou
dThetaskofdesig
i
gamethodusi
g8255chipa
dassemblyla
guageproducedbymultifu
ctio
alrespo
dertheexperime
talboxswitchregio
a
ddigitaldisplayareatogetherMai
fu
ctio
1cou
tdow
10seco
ds2withLEDdigitaltubedisplay18playertopressthe
umberkeysIthasabasicrespo
derfu
ctio
a
ddigitaldisplayfu
ctio
whe
thea
swerafterthestartthesystemwillautomaticallycou
tdow
a
dthetimeca
bepresetduri
gthea
swerwordssystemwillstoptheclockperiodif
oa
swerthesystemautomaticallylatchedu
tilthehostpresstheresetbutto
4
f河北联合大学《微机原理与接口技术》
目录前言…………………………………………………………………6第一章八路竞赛抢答器的设计要求与设计案………………………7
11八路竞赛抢答器方案的选择与比较…………………………………………712八路竞赛抢答器的元件选择………………………………………………7
第二章八路竞赛抢答器的硬件设计……………………………………9
21八路竞赛抢答器的硬件框图………………………………………………922显示电路设计…………………………………………………………………923抢答电路设计…………………………………………………………………924开始、复位开关控制电路设计……………………………………………1025可编程并行接口8255及其引脚说明…………………………………11268086及引脚说明………………………………………………………13
第三章八路竞赛抢答器的软件设计……………………………………21
31主程序流程图……………………………………………………………………2132显示模块程序设计……………………………………………………………2133延时模块程序设计……………………………………………………………2234开始模块程序设计……………………………………………………………2235复位模块程序设计……………………………………………………………23
第四章设计体会与小结………………………………………………………24
41总结设计体会与心得………………………………………………………24
第五章参考文献……………………………………………………………………25附录一……………………………………………………………………r