文件名称:qiangda
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-05-29
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- fei***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本例程为一抢答器;其中主持人操控S12与S13两个按键。选手共六位,分别操控S6--S11中的一个按键。当主持人按下抢答开始按键S13后,倒计时开始,计时5s。此后最先按下按键的选手号码将显示与数码管上。后来按下的将无显示。若五秒计时结束后,再按下按键也不会显示。若主持人没有按开始键,就有选手抢答,则视为犯规。此时犯规的选手号码将被显示于数码管上(最多显示五位犯规选手)同时,蜂鸣器发出长笛声报警,数码管全亮。而当主持人按下清零键S12后,一切状态均恢复,可以开始新一轮的抢答。-This routine is a Responder S12 and S13 which hosts two control buttons. A total of six players were manipulated S6- S11 of a button. When the host pressed the start button to answer in S13, the countdown starts, time 5s. After the first press a key player number on the digital display. Later pressed will not be displayed. If the timer ends after five seconds, and then press the button is not displayed. If the host does not press the start button, the player will have to answer in, it is considered foul. At this point players foul number will be displayed on the digital (display up to five fouls players) while a flute buzzer alarm, digital full brightness. And when the host key is pressed cleared S12, all states are restored, you can start a new round of answer.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
qiangda.c