首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 发光二极管灯的脉宽调制控制逐步消除过程中的应用…

发光二极管灯的脉宽调制控制逐步消除过程中的应用…

  • 资源大小:1.30 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 汇编语言 asm

资 源 简 介

PWM 控制 LED 灯渐亮渐灭程序 适用 ME300B 开发系统 利用定时器控制产生占空比可变的 PWM 波 按K1,PWM值增加,则占空比减小,LED 灯渐暗。 按K2,PWM值减小,则占空比增加,LED 灯渐亮。 当PWM值增加到最大值或减小到最小值时,蜂鸣器将报警。-PWM control of LED lights getting brighter gradually eliminate procedures apply ME300B development system 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.asm
VIP VIP
0.255786s