产品详情
说明: 程序实现如下模拟彩灯,开发板从左至右4个按键分别为S1-S4,从上至下8个灯为L1-L8,按下S1键8只LED小灯以1HZ频率闪烁,按下S2键8只灯奇偶交替点亮,间隔0.3S,按下S3键,L1-L4与L5-L8灯交替点亮,间隔0.2s,按下S4键熄灭所有灯。
(Lantern simulation program to achieve the following development board left to right are four buttons S1-S4, top to bottom eight lights L1-L8, press S1 key 8 small LED lights to flicker 1HZ frequency, press S2 key 8 parity alternately illuminate light interval 0.3S, press S3 button, L1-L4 and L5-L8 lights alternately illuminate interval 0.2s, press S4 button turns off all the lights.)
(Lantern simulation program to achieve the following development board left to right are four buttons S1-S4, top to bottom eight lights L1-L8, press S1 key 8 small LED lights to flicker 1HZ frequency, press S2 key 8 parity alternately illuminate light interval 0.3S, press S3 button, L1-L4 and L5-L8 lights alternately illuminate interval 0.2s, press S4 button turns off all the lights.)
文件列表:
LED_controlled_by_keys.c,3746,2015-09-21
