文件名称:8051INT-CONTROL
介绍说明--下载内容均来自于网络,请自行研究使用
程序实现的内容是通过控制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