文件名称:keycounter2010
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 赵**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
单片机首先查询按键是否按下,若有键按下则进行计数,计数到99满时,又从零开始计数;接下来单片机要对计的数值要进行数码显示,计得的数是十进数,含有十位和个位,我们要把十位和个位拆开分别送出这样的十位和个位数值到对应的数码管上显示。如何拆开十位和个位我们可以把所计得的数值对10求余,即可个位数字,对10整除,即可得到十位数字了,最后通过查表方式,在数码管上分别显示出个位和十位数字-SCM button is pressed first check if key is pressed to count to 99 count full, then zero count the next SCM to be on the account value to a digital display, the productivity gain is a decimal number , with 10, and a place we want to 10 and a bit apart were sent this 10 and a bit value to the corresponding digital tube display. How to open 10 and a bit we can get the total value to 10 to request the can-digit, and is divisible by 10, you can get 10 numbers, and last, look-up table method, respectively, in the digital pipe show a bit and 10 figures
(系统自动生成,下载前可以参看下载内容)
下载文件列表
keycounter.asm