文件名称:keycounter2010
介绍说明--下载内容来自于网络,使用问题请自行百度
单片机首先查询按键是否按下,若有键按下则进行计数,计数到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
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
