文件名称:MCD-LED2
介绍说明--下载内容来自于网络,使用问题请自行百度
单键触发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
MCD-LED2/说明.txt
MCD-LED2
MCD-LED2/说明.txt
MCD-LED2
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.