文件名称:my.2
介绍说明--下载内容均来自于网络,请自行研究使用
16个发光二极管LED0~LED15经限流电阻分别接至P1口和P2口,阳极共同接高电平。编程实现制作节日炫彩流水灯,控制其流水或闪烁花样和速度,实现至少4种彩灯灯光效果(不含全部点亮,全部熄灭),用按键1在几种灯光效果间切换,用按键2加速,用按键3减速,用按键4暂停彩灯效果,再按一下恢复运行。-16 light-emitting diodes LED0 ~ LED15 current limiting resistor connected to P1 and P2, respectively, mouth, common anode then high. Colorful holiday programming produced water lights, control its flow or flashing patterns and speed, to achieve at least four kinds of lanterns lighting effects (not all light, all off), use the button 1 to switch between several lighting effects, with buttons 2 acceleration, deceleration with button 3, 4 with a pause button lights effect, press again to resume operation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
my.2.c