qiangdaqi

所属分类单片机开发
开发工具:Visual C++
文件大小:2KB
下载次数:3
上传日期:2011-08-31 02:52:57
上 传 者耙斗星
说明:  本程序为一抢答器;其中主持人操控S12与S13两个按键。选手共六位,分别操控S6--S11中的一个按键。 当主持人按下抢答开始按键S13后,倒计时开始,计时5s。此后最先按下按键的选手号码将显示与数码管上。后来按下的将无显示。若五秒计时结束后,再按下按键也不会显示。若主持人没有按开始键,就有选手抢答,则视为犯规。此时犯规的选手号码将被显示于数码管上(最多显示五位犯规选手)同时,蜂鸣器发出长笛声报警,数码管全亮。而当主持人按下清零键S12后,一切状态均恢复,可以开始新一轮的抢答。
(The procedures for a vies to answer first device Among them the host control S12 and S13 two buttons. Players were six, respectively-in the S11 control S6 a button. When host press vies to answer first start button, the countdown begins, S13 time 5 s. Since then the first press buttons players will show with digital number on the tube. Then press will show no. If five seconds after timing is over, then press the button will not display. If the host did not press start, there are the key players vies to answer first, then as a foul. At this time the player foul will be displayed in the number of digital tube (up to show five fouls player) at the same time, a long flute version for the police, digital tube light all. And when the host press the reset button S12, all states are restored, can start a new round of the contest. )

文件列表:[举报垃圾]
qiangdaqi.c,4820,2011-08-13

近期下载者

相关文件

评论我要评论

收藏者