文件名称:biaojueqi
介绍说明--下载内容来自于网络,使用问题请自行百度
表决器,模拟三位评委的表决,并做出判断,将结果显示于1602上。
共用到TX-1C学习板上左二列的S6,S7,S10,S11,S14,S15,S18七个按键。
其中S18为清零键,对1602进行清屏和对相关变量清零。
每位评委操控两个按键,分别代表“通过”和“不通过”。
第一位评委控制S6(通过)与S7(不通过);
第二位评委控制S10(通过)与S11(不通过);
第三位评委控制S14(通过)与S15(不通过);
当按“通过”次数多于“不通过”时,1602将显示“yes”,否则显示“no”。
在一个回合中,每位评委只有一次按键的权利,一旦按下,其操控的两个
按键均将被封锁,再按也不会有任何作用。除非按下清零键S18清零后开始下一回合。-Vote, analog three judges vote and make judgments, the results are displayed on the 1602. Shared learning to TX-1C board left column S6, S7, S10, S11, S14, S15, S18 seven keys. Where S18 is cleared button to clear the screen and for 1602 related variables are cleared. Every two buttons control the judges, representing the " pass" and " do not pass." The first one judges control S6 (through) and S7 (not through) second judges control S10 (through) and S11 (not through) Third judges control S14 (through) and S15 (not through) When you press When " through" more frequently than " do not pass" , 1602 will display " yes" , otherwise display " no" . In one round, the judges only once every right button, once pressed, its control of the two keys are to be blocked, and then there will not be any effect. Unless cleared by pressing the Clear key to start the next round after the S18.
共用到TX-1C学习板上左二列的S6,S7,S10,S11,S14,S15,S18七个按键。
其中S18为清零键,对1602进行清屏和对相关变量清零。
每位评委操控两个按键,分别代表“通过”和“不通过”。
第一位评委控制S6(通过)与S7(不通过);
第二位评委控制S10(通过)与S11(不通过);
第三位评委控制S14(通过)与S15(不通过);
当按“通过”次数多于“不通过”时,1602将显示“yes”,否则显示“no”。
在一个回合中,每位评委只有一次按键的权利,一旦按下,其操控的两个
按键均将被封锁,再按也不会有任何作用。除非按下清零键S18清零后开始下一回合。-Vote, analog three judges vote and make judgments, the results are displayed on the 1602. Shared learning to TX-1C board left column S6, S7, S10, S11, S14, S15, S18 seven keys. Where S18 is cleared button to clear the screen and for 1602 related variables are cleared. Every two buttons control the judges, representing the " pass" and " do not pass." The first one judges control S6 (through) and S7 (not through) second judges control S10 (through) and S11 (not through) Third judges control S14 (through) and S15 (not through) When you press When " through" more frequently than " do not pass" , 1602 will display " yes" , otherwise display " no" . In one round, the judges only once every right button, once pressed, its control of the two keys are to be blocked, and then there will not be any effect. Unless cleared by pressing the Clear key to start the next round after the S18.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
biaojueqi.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.