文件名称:C51ledControl
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-12-19
- 文件大小:
- 22kb
- 下载次数:
- 0次
- 提 供 者:
- mengk******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
51单片机彩灯控制器的设计包含程序源代码及proteus仿真图。实现了如下功能:
1. 用16盏以上的LED小灯,实现至少4种彩灯灯光效果(不含全部点亮,全部熄灭);
2. 可以用输入按钮在几种灯光效果间切换;
3. 可以通过按钮暂停彩灯效果,使小灯全亮,再次按下相同按钮后继续之前的效果;
4. 增加自动在几种效果间切换的功能,并设置一个按钮可以在自动模式和手动模式间切换;
5. 使用定时中断延时。
注:程序中一共有十钟灯光效果,分别是:
顺时针流水灯、逆时针流水灯、交替闪烁、顺时针对角灯、逆时针对角灯、顺时针逐个点亮、顺时针逐个熄灭、逆时针逐个点亮、逆时针逐个熄灭、二进制加法。-51 single-chip lantern controller design includes program source code and Proteus simulation diagram. To achieve the following functions:
1 with 16 or more LED lights, 4 lights lighting effects to achieve at least (excluding all light, all out)
2 can use the input button to switch between several lighting effects
The 3 button to suspend the lantern effect, so that the small lights lit again, press the same button to continue the previous effect
4 increase the automatic switching between the effects of several functions, and set a button can switch between automatic mode and manual mode
5 use timing interrupt delay.
Note: the program has a total of ten clock lighting effect, respectively:
Clockwise and counterclockwise running lights, water lights flashing, clockwise and counterclockwise diagonal diagonal light lamp, clockwise by light, clockwise and counterclockwise by light go out one by one, one by one off, binary addition counter clockwise.
1. 用16盏以上的LED小灯,实现至少4种彩灯灯光效果(不含全部点亮,全部熄灭);
2. 可以用输入按钮在几种灯光效果间切换;
3. 可以通过按钮暂停彩灯效果,使小灯全亮,再次按下相同按钮后继续之前的效果;
4. 增加自动在几种效果间切换的功能,并设置一个按钮可以在自动模式和手动模式间切换;
5. 使用定时中断延时。
注:程序中一共有十钟灯光效果,分别是:
顺时针流水灯、逆时针流水灯、交替闪烁、顺时针对角灯、逆时针对角灯、顺时针逐个点亮、顺时针逐个熄灭、逆时针逐个点亮、逆时针逐个熄灭、二进制加法。-51 single-chip lantern controller design includes program source code and Proteus simulation diagram. To achieve the following functions:
1 with 16 or more LED lights, 4 lights lighting effects to achieve at least (excluding all light, all out)
2 can use the input button to switch between several lighting effects
The 3 button to suspend the lantern effect, so that the small lights lit again, press the same button to continue the previous effect
4 increase the automatic switching between the effects of several functions, and set a button can switch between automatic mode and manual mode
5 use timing interrupt delay.
Note: the program has a total of ten clock lighting effect, respectively:
Clockwise and counterclockwise running lights, water lights flashing, clockwise and counterclockwise diagonal diagonal light lamp, clockwise by light, clockwise and counterclockwise by light go out one by one, one by one off, binary addition counter clockwise.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
main.c
1.DSN
1.hex