文件名称:qiangdaqi
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 耙**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本程序为一抢答器;其中主持人操控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