文件名称:PWM
介绍说明--下载内容均来自于网络,请自行研究使用
利用定时器控制产生占空比可变的 PWM 波
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-Have a timer to control the use of variable duty cycle PWM wave by K1, PWM values increase, then decrease the duty cycle, LED lights dimming. By K2, PWM values decrease, then increase the duty cycle, LED lights become bright. When the PWM value to the maximum value or decrease to the minimum value, the buzzer will alarm.
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-Have a timer to control the use of variable duty cycle PWM wave by K1, PWM values increase, then decrease the duty cycle, LED lights dimming. By K2, PWM values decrease, then increase the duty cycle, LED lights become bright. When the PWM value to the maximum value or decrease to the minimum value, the buzzer will alarm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PWM控制LED灯渐亮渐灭实验
........................\PWMLED
........................\PWMLED.c
........................\PWMLED.hex
........................\PWMLED.lnp
........................\PWMLED.LST
........................\PWMLED.M51
........................\PWMLED.OBJ
........................\PWMLED.Opt
........................\PWMLED.plg
........................\PWMLED.Uv2
........................\PWMLED_Opt.Bak
........................\PWMLED_Uv2.Bak
........................\实验说明文档.doc
........................\PWMLED
........................\PWMLED.c
........................\PWMLED.hex
........................\PWMLED.lnp
........................\PWMLED.LST
........................\PWMLED.M51
........................\PWMLED.OBJ
........................\PWMLED.Opt
........................\PWMLED.plg
........................\PWMLED.Uv2
........................\PWMLED_Opt.Bak
........................\PWMLED_Uv2.Bak
........................\实验说明文档.doc