文件名称:led-pwm
介绍说明--下载内容来自于网络,使用问题请自行百度
PWM 控制 LED 灯渐亮渐灭程序
适用 ME300B 开发系统
晶振为11.0592M
利用定时器控制产生占空比可变的 PWM 波
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-PWM control of LED lights getting brighter gradually eliminate procedures apply ME300B development system oscillator for 11.0592M the use of timer control which produces a variable duty cycle PWM wave by K1, PWM value is increased, then the duty cycle decreases, LED lights dimming. According to K2, PWM value is reduced, then the duty cycle increases, LED lights gradually brighter. When the PWM value is increased to maximum or reduced to minimum, the buzzer will alarm.
适用 ME300B 开发系统
晶振为11.0592M
利用定时器控制产生占空比可变的 PWM 波
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-PWM control of LED lights getting brighter gradually eliminate procedures apply ME300B development system oscillator for 11.0592M the use of timer control which produces a variable duty cycle PWM wave by K1, PWM value is increased, then the duty cycle decreases, LED lights dimming. According to K2, PWM value is reduced, then the duty cycle increases, LED lights gradually brighter. When the PWM value is increased to maximum or reduced to minimum, the buzzer will alarm.
相关搜索: PWM LED
(系统自动生成,下载前可以参看下载内容)
下载文件列表
用ME300B型单片机开发系统学习LED亮度控制原理.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.