文件名称:PWMLED
介绍说明--下载内容来自于网络,使用问题请自行百度
利用定时器控制产生占空比可变的 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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
PWMLED.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
