文件名称:8051INT-CONTROL
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:7.47kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
程序实现的内容是通过控制KEY2,KEY4两个按键作为中断INT0和INT1,在一定实验条件下,可以实现发光二极管右循环,终止循环,变向循环等功能。具体是运行程序后,8个发光二极管从左到右逐个点亮熄灭,并不断循环。如果此时按下KEY4出发INT1,发光二极管循环过程停止,并且在数码管2上用数字现实当前发光二极管所在的位置,再按下KEY2时恢复发光二极管循环过程。其中库函数根据实验台而定。-The content of the program is to control KEY2, KEY4 two buttons as interrupt INT0 and INT1 under certain experimental conditions, the light-emitting diode right loop, the loop is terminated, and change to recycling and other functions. Specifically to run the program, eight light-emitting diodes from left to right by-lighted, and continue to cycle. If the press KEY4 starting the INT1 emitting diode cycle stops, and in the digital tube 2 by digital reality this position where the light emitting diode, and restored when the light emitting diode and then press KEY2 cycle. Library functions according to the bench.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
1.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.