6段数码管分别显示,时,分,秒,四个按键,K1(P0.0),K2(P0.1), K3(P0.2),K4(P0.3),四个按键用来调时间的,按下K1,所有位都清零显示,然后按下K2,秒在闪烁,继续按K2分闪烁,不段地按K2 秒--分--时切换着闪烁,在某位闪时按下K3相应位加一,确认调整,按K4,取消调整再按K1。在K1按下以后才有调时的功能,如果K1没有按下,按别的键没有反映。这为了在加点按键功能留着用
上传时间: 2015-11-11
上传用户:wl9454
一:需求分析 1. 问题描述 魔王总是使用自己的一种非常精练而抽象的语言讲话,没人能听懂,但他的语言是可逐步解释成人能听懂的语言,因为他的语言是由以下两种形式的规则由人的语言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在这两种形式中,从左到右均表示解释.试写一个魔王语言的解释系统,把 他的话解释成人能听得懂的话. 2. 基本要求: 用下述两条具体规则和上述规则形式(2)实现.设大写字母表示魔王语言的词汇 小写字母表示人的语言的词汇 希腊字母表示可以用大写字母或小写字母代换的变量.魔王语言可含人的词汇. (1) B --> tAdA (2) A --> sae 3. 测试数据: B(ehnxgz)B 解释成 tsaedsaeezegexenehetsaedsae若将小写字母与汉字建立下表所示的对应关系,则魔王说的话是:"天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鹅 | 追 | 赶 | 下 | 蛋 | 恨 |
上传时间: 2014-12-02
上传用户:jkhjkh1982
单片机控制键盘和led,键盘送入的数据在led 上显示,数据满四位后,键入的第5位数据在个位显示,前四位清零。
上传时间: 2014-12-22
上传用户:z1191176801
秒表计时,可以按暂停继续并且可以清零继续秒表的计时
标签: 计时
上传时间: 2015-11-16
上传用户:dragonhaixm
一、任务 设计并制作一台出租车计价器。 二、要求 1 、基本要求 (1 )不同情况具有不同的收费标准。 l 白天 l 晚上 l 途中等待(>10min 开始收费) (2 )能进行手动修改单价 (3 )具有数据的复位功能 (4 )IO 口分配的简易要求 l 距离检测使用霍尔开关A44E l 白天/晚上收费标准的转换开关 l 数据的清零开关 l 单价的调整(最好使用 +和 -按键) (5 )数据输出(采用LCM103 ) l 单价输出2 位 l 路程输出2 位 l 总金额输出3 位 (6 )按键 l 启动计时开关 l 数据复位(清零) l 白天/晚上转换 2 、发挥部分 l 能够在掉电的情况下存储单价等数据 l 能够显示当前的系统时间 l 语音播报数据信息 三、说明 (1 )时间要求 l 8 月7 日到8 日两天。 l 完成实际电路,总结报告。
上传时间: 2014-07-02
上传用户:trepb001
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
ch451电路的c源码 功能 : 开机后在最低位置1,其余清零;按下键后,左移两位,在低两位显示
上传时间: 2016-02-11
上传用户:huannan88
功能更加完善的基于vhdl的数字时钟设计 有秒表,时钟,时期,闹钟的功能和整点报时,时间调整,日期调整,闹钟的设定 、、、、、、、 秒表有开始,暂停,清零等功能,且只有在暂停的情况下才能清零。
上传时间: 2013-12-19
上传用户:aysyzxzm
利用xilin实验仪完成一个可以计时的数字时钟,显示范围位00.00~59.59,且该时钟应该具有暂停计时,清零灯功能。
上传时间: 2016-03-01
上传用户:我干你啊
rom地址宽度8位,256个正弦波数据。频率控制字可以步进,具有清零功能。
上传时间: 2013-12-08
上传用户:叶山豪