登录
首页 » 汇编语言 » 发光二极管灯的脉宽调制控制逐步消除过程中的应用…

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

于 2022-07-12 发布 文件大小:1.30 kB
0 193
下载积分: 2 下载次数: 1

代码说明:

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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 运行环境MASM.程序功能是:小车自动前进!界面简单且易于操作!...
    运行环境MASM.程序功能是:小车自动前进!界面简单且易于操作!-runtime environment. Procedures functions : automatic car! Interface is simple and easy to operate.
    2022-02-04 10:38:36下载
    积分:1
  • 实现的学生信息管理系统,可以添加、删除、修改、查看功能...
    用汇编语言实现的学生信息管理系统,可以添加、删除、修改、查看功能-Using assembly language to achieve the student information management system, can add, delete, modify, view the function
    2023-05-16 14:00:03下载
    积分:1
  • avr串口通信,适合所有型号的,为刚刚入门的人提供参考
    avr串口通信,适合所有型号的,为刚刚入门的人提供参考-avr serial communications, suitable for all models for the entry of people just provide a reference
    2022-12-26 00:20:03下载
    积分:1
  • read character
    读取字母,用来检测用户以键盘输入的字符,并将其储存起来-read character
    2022-03-24 06:07:49下载
    积分:1
  • 大学计算机系教材:80x86程序设计 马力妮主 课本
    大学计算机系教材:80x86汇编语言程序设计 马力妮主编 课本-P180-5.4习题-第18题:统计一个字符串中大写字母和小写字母的个数 -University Department of Computer Science textbooks: 80x86 Assembly Language Programming Textbooks editor horsepower Ni-P180-5.4 Exercises- Article 18 Title: Statistics of a string uppercase letters and lowercase letters of the number of
    2022-08-09 20:56:13下载
    积分:1
  • 万年历程序 从1302中读出的数据放在67H(高两位年)66H(低两位年)65H(月)64H(星期)63H(日) 62H(小时)61H(分钟)60H(...
    万年历程序 从1302中读出的数据放在67H(高两位年)66H(低两位年)65H(月)64H(星期)63H(日) 62H(小时)61H(分钟)60H(秒)57H(农历月)56H(农历日) 显示缓冲单元7CH-7BH(4CH-4BH)(年低位),7AH-79H(4AH-49H)月,78H(48H)星期, 77H-76H(47H-46H)日,75H-74H(45H-44H)小时,73H-72H(43H-42H)分钟,71H-70H(41H-40H)秒 5EH-5DH(55H-54H)农历年,5CH-5BH(53H-52H)农历月,5AH-59H(51H-50H)农历日 闰月标志为F0,定时器T1为调整时候闪烁用。 1302在设置调整时间后,要改为禁止写入状态,否则在上电复位的时候就发生误写入,使时间值加1分钟 次程序中的段码表只适用于该特殊的硬件,具体的段码表由具体的硬件决定 -Calendar program read from the 1302 data on the 67H (two-year high) 66H (two-year low) 65H (month) 64H (Week) 63H (date) 62H (hours) 61H (minutes) 60H (second) 57H (Lunar Month) 56H (Lunar date) shows a buffer unit 7CH-7BH (4CH-4BH) (year low), 7AH-79H (4AH-49H) month, 78H (48H) Week, 77H-76H (47H-46H) Day , 75H-74H (45H-44H) hours, 73H-72H (43H-42H) minutes, 71H-70H (41H-40H) second 5EH-5DH (55H-54H) Lunar New Year, 5CH-5BH (53H-52H) Lunar month, 5AH-59H (51H-50H) Lunar Leap Day logo for F0, adjust the timer T1 is used when flashing. 1302 adjust at set time, the status should be cha
    2022-08-09 16:37:13下载
    积分:1
  • 实现2进制向十进制的转换,过程用类似模块化的标签,通过跳转实现,代码块清晰易读...
    用汇编语言实现2进制向十进制的转换,过程用类似模块化的标签,通过跳转实现,代码块清晰易读-Using assembly language to achieve 2-band conversion to the metric system, the process of labeling similar to the modular, through Jump realized legible block of code
    2022-01-26 08:10:16下载
    积分:1
  • 数据结构典型问题
    霍夫曼编码器的实现(霍夫曼编码不具有唯一性,通过建立霍夫曼树实现)、实现图的遍历(前—中—后等不同顺序)、教学计划编制问题、快速排序、优先队列与堆
    2023-06-26 09:25:03下载
    积分:1
  • 这是一个非常基本简单的斯蒂芬森matlab算法程序,非常适合于初学者学些。...
    这是一个非常基本简单的斯蒂芬森matlab算法程序,非常适合于初学者学些。-This is a very basic, simple procedures Stephenson matlab algorithm is very suitable for beginners and learn more.
    2022-04-24 07:10:30下载
    积分:1
  • USB PDIUSB12D C language for a driver
    USB PDIUSB12D C语言驱动程序库1-USB PDIUSB12D C language for a driver
    2022-02-15 00:41:31下载
    积分:1
  • 696516资源总数
  • 106923会员总数
  • 0今日下载