文件名称:PWM
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.22kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
PWM 控制 LED 灯渐亮渐灭程序
适用 ME300B 开发系统
晶振为11.0592M
利用定时器控制产生占空比可变的 PWM 波
按K1,PWM值增加,则占空比减小,LED 灯渐暗。
按K2,PWM值减小,则占空比增加,LED 灯渐亮。
当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-PWM control of LED lights gradually becoming bright ME300B out procedures applicable to the development of systems for 11.0592M crystal timer to control the use of variable duty cycle generated by the PWM wave K1, PWM value to 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 increase or decrease the minimum value, the buzzer will alarm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
程序.c
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
