文件名称:D_S_AN
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- lei***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
函数功能:
--- --- --- --- --- --- --- --- --- --- ----
用4个按键控制四个数码管的显示
四个按键分别k1,k2,k3,k4。
实现功能:
1. K1 单击,数码管上显示的数加1,加到9999后,再单击,显示0000
2. K2 单击 数码管上显示的数减1,减到0000后,再单击,显示9999
3. K1双击 数码管上显示的数加5,加到超过9999后,再双击,显示超出的数,如当前显示为9998,双击后,显示4
4. K2双击 数码管上显示的数减5,加到超过0后,再双击,显示超出的数与9999的和,如当前显示为1,双击后,显示9995
5. K1连击 数码管上的以步长为10的值增加,加到9999或超过,均显示超出的数,同上k1双击处理。
6. 如当前值为1200,则连击时,显示值为 1210 1220 1230……..
7. K2连击 数码管上的以步长为10的值增加,减到0或超过,均显示超出的数,同上k2双击处理。
8. 如当前值为1200,则连击时,显示值为 1190 1180 1170……..
9. K3 功能键 ,类似于shift
当按住k3,再按下k1,k2时,数码管显示以步长100的速度增减,显示处理同上
10. 无击 10秒后,数码显示为0000
11. K4 三击 数码管显示-Function:
----------------------------------------------------------------
With four key control of four digital display
Four buttons respectively, erp k1, k2 and k4.
Functions:
1 K1 click on display, digital pipe number 1, add to 9999, then click, display 0000
2 K2 click on the number of digital pipe showed reduced to 1, and then click 0000, display 9999
3 K1 double-click on the display of digital tube number 5, to more than 999, after that the number and double-click beyond that, if present, for 9998, 4. After double-click
4 K2 double-click on the number of digital tube that 5, to reduce after more than 0, then double-click the number and beyond, display, such as the current and 999 for 1, after that, 9995 double-click on
5 combo digital pipe K1 by incrementing 10, plus the value increases to 9999 or over, all show beyond number, alexandrine K1 double-click processing.
6 if the value is 1200, when the display value, for the combo 1210 1220 1230... ..
7. K2 combo digita
--- --- --- --- --- --- --- --- --- --- ----
用4个按键控制四个数码管的显示
四个按键分别k1,k2,k3,k4。
实现功能:
1. K1 单击,数码管上显示的数加1,加到9999后,再单击,显示0000
2. K2 单击 数码管上显示的数减1,减到0000后,再单击,显示9999
3. K1双击 数码管上显示的数加5,加到超过9999后,再双击,显示超出的数,如当前显示为9998,双击后,显示4
4. K2双击 数码管上显示的数减5,加到超过0后,再双击,显示超出的数与9999的和,如当前显示为1,双击后,显示9995
5. K1连击 数码管上的以步长为10的值增加,加到9999或超过,均显示超出的数,同上k1双击处理。
6. 如当前值为1200,则连击时,显示值为 1210 1220 1230……..
7. K2连击 数码管上的以步长为10的值增加,减到0或超过,均显示超出的数,同上k2双击处理。
8. 如当前值为1200,则连击时,显示值为 1190 1180 1170……..
9. K3 功能键 ,类似于shift
当按住k3,再按下k1,k2时,数码管显示以步长100的速度增减,显示处理同上
10. 无击 10秒后,数码显示为0000
11. K4 三击 数码管显示-Function:
----------------------------------------------------------------
With four key control of four digital display
Four buttons respectively, erp k1, k2 and k4.
Functions:
1 K1 click on display, digital pipe number 1, add to 9999, then click, display 0000
2 K2 click on the number of digital pipe showed reduced to 1, and then click 0000, display 9999
3 K1 double-click on the display of digital tube number 5, to more than 999, after that the number and double-click beyond that, if present, for 9998, 4. After double-click
4 K2 double-click on the number of digital tube that 5, to reduce after more than 0, then double-click the number and beyond, display, such as the current and 999 for 1, after that, 9995 double-click on
5 combo digital pipe K1 by incrementing 10, plus the value increases to 9999 or over, all show beyond number, alexandrine K1 double-click processing.
6 if the value is 1200, when the display value, for the combo 1210 1220 1230... ..
7. K2 combo digita
相关搜索: 显示处理
(系统自动生成,下载前可以参看下载内容)
下载文件列表
D_S_AN.c