文件名称:PWM
介绍说明--下载内容均来自于网络,请自行研究使用
PWM方式控制发光二极管的亮度
说明: 按钮控制PWM输出,使P4.1的发光二极管(数码管的b段),由亮到灭分为8级控制,一个
按钮增加亮度,另外一个减少亮度,数码管显示亮度等级,P1.0 控制变亮,P1.1控制变暗. -
PWM mode control the brightness of the light emitting diode
Descr iption: button control PWM output, make P4.1 led (light emitting diode digital tube b section), by the light to destroy is divided into eight level control, a
Button to increase brightness, another to reduce brightness, digital tube display brightness level, P1.0 control light, P1.1 dimming control.
说明: 按钮控制PWM输出,使P4.1的发光二极管(数码管的b段),由亮到灭分为8级控制,一个
按钮增加亮度,另外一个减少亮度,数码管显示亮度等级,P1.0 控制变亮,P1.1控制变暗. -
PWM mode control the brightness of the light emitting diode
Descr iption: button control PWM output, make P4.1 led (light emitting diode digital tube b section), by the light to destroy is divided into eight level control, a
Button to increase brightness, another to reduce brightness, digital tube display brightness level, P1.0 control light, P1.1 dimming control.
(系统自动生成,下载前可以参看下载内容)