文件名称:MCD-LED2
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- yuan****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
单键触发8位二进制累加计数器
该程序的目的是让大家熟悉输入、输出端口的使用
该程序的功能是把演示板当做一个按键计数器。刚刚接通电源时,8只发光二极管都不亮。
表示计数器初值为0,当按下开关S3(RB0)时,计数器的值加1,发光二极管D3点亮,表示值1,然后松
开
按钮;再次按下开关S3(RB0)时,计数器的值又加1,发光二极管D4点亮,表示值2,依次类推,反复循
环。-Speed 8-bit binary up-counter trigger the program aims to let everyone know the input and output ports to use the program' s function is to demo board as a key counter. Just power on, 8 LEDs are not bright. That the counter initial value is 0, when the press switch S3 (RB0), the counter value plus 1, D3 LED lights to indicate a value of 1, and then release button again press the switch S3 (RB0), the counter value and add 1, light emitting diode D4, indicating a value of 2, and so on, repeated cycles.
该程序的目的是让大家熟悉输入、输出端口的使用
该程序的功能是把演示板当做一个按键计数器。刚刚接通电源时,8只发光二极管都不亮。
表示计数器初值为0,当按下开关S3(RB0)时,计数器的值加1,发光二极管D3点亮,表示值1,然后松
开
按钮;再次按下开关S3(RB0)时,计数器的值又加1,发光二极管D4点亮,表示值2,依次类推,反复循
环。-Speed 8-bit binary up-counter trigger the program aims to let everyone know the input and output ports to use the program' s function is to demo board as a key counter. Just power on, 8 LEDs are not bright. That the counter initial value is 0, when the press switch S3 (RB0), the counter value plus 1, D3 LED lights to indicate a value of 1, and then release button again press the switch S3 (RB0), the counter value and add 1, light emitting diode D4, indicating a value of 2, and so on, repeated cycles.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MCD-LED2\MCD-LED2.ASM
........\说明.txt
MCD-LED2
........\说明.txt
MCD-LED2