登录
首页 » 汇编语言 » First, the use of a keyboard display interface chip receive keys keys 8279, and...

First, the use of a keyboard display interface chip receive keys keys 8279, and...

于 2023-03-17 发布 文件大小:9.35 kB
0 172
下载积分: 2 下载次数: 1

代码说明:

一、 使用键盘显示接口芯片8279接收按键键值,并在七段数码管上显示出来,通过判断键值进入相应音乐播放处理程序。在音乐播放程序中,使用定时器/计数器8253的计数器2,使其工作在方式¬ ¬ 3―方波发生器,通过查表依次取出乐曲频率值送入计数器作为计数初值,经out2输出方波,驱动扬声器发出不同频率的声音,在每个音阶之间加入相应的延迟时间,即实现了音乐的播放。-First, the use of a keyboard display interface chip receive keys keys 8279, and Seven-Segment LED display, through to determine the corresponding music player keys to enter the treatment program. Procedures in the music player, use the timer/counter 2 counter 8253 to work in the way ? ? 3- square-wave generator, followed by out music through the look-up table values into the counter as a frequency count of the initial value, the output side out2 waves, driven loudspeakers of different frequency sound, in between each scale by adding the appropriate delay time, namely, the realization of the music player.

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

发表评论

0 个回复

  • ASM电机向前和向后
    asm for motor forward and backward
    2022-04-15 21:33:12下载
    积分:1
  • 音乐小程序
    音乐小程序-small programs
    2022-08-03 07:36:15下载
    积分:1
  • 一些汇编例子
    一些汇编例子-Compilation of examples of some
    2022-03-12 18:44:22下载
    积分:1
  • 1) direction vehicle release 20 seconds. What is the direction of red and green...
    1) 东西方向车辆放行20秒钟。即东西方向的绿灯和南北方向的红灯同时点亮20秒钟; 2) 20秒钟后,东西方向的黄灯闪烁2秒钟,以警示车辆将切换红绿灯。此时南北方向仍维持红灯点亮。在南北方向亮红灯期间,在2位数码管上显示计数值(每秒减1),从20减至01。 3) 东西方向的黄灯闪烁2秒钟后,转为南北方向放行20秒钟。即东西方向的红灯和南北方向的绿灯同时点亮20秒钟; 4) 南北方向放行20秒钟后,转为南北方向的黄灯闪烁2秒钟,以警示将切换红绿灯。此时东西方向仍维持红灯点亮。 5) 南北方向的黄灯闪烁2秒钟后,再转为东西方向车辆放行20秒钟。如此循环重复。 -1) direction vehicle release 20 seconds. What is the direction of red and green light at 20 seconds, 2) 20 seconds later, the yellow lights flashing warning vehicles with 2 seconds, switch to the traffic lights. This is still remain red light north-south direction. In the south during the red light, in the direction of the digital display tube of 2 per plan (minus 1), from 20 to 2001. 3) the yellow lights flashing direction to 2 seconds later, the south direction release 20 seconds. What is the direction of the north-south direction of red and green and light 20 seconds, 4) north-south direction after 20 seconds to release the north-south direction, yellow lights flashing warning, with 2 secon
    2022-02-04 13:43:35下载
    积分:1
  • 软中断处理程序,arm异常中断测试程序,可以很好的理解软中断的处理过程。...
    软中断处理程序,arm异常中断测试程序,可以很好的理解软中断的处理过程。-Soft interrupt processing, arm abnormal interruption of the test procedures, can be a very good understanding of soft-interrupted process.
    2023-03-31 09:05:04下载
    积分:1
  • 数控电源,包括程序。硬件原理图。已经通过调试可以使用。...
    数控电源,包括程序。硬件原理图。已经通过调试可以使用。-NC power supply, including the program. Hardware schematic diagrams. Have been through the debugger can be used.
    2022-10-01 21:20:04下载
    积分:1
  • 使用win98下,对24cxx芯片进行读写操作。
    使用win98下,对24cxx芯片进行读写操作。-Use win98 under 24cxx chips to read and write operations.
    2022-12-26 11:55:03下载
    积分:1
  • Software for the application of a sensor, AD converter is also a useful example...
    软件为一个传感器的应用实例,也是AD转换的有用例子,关键地方都作了注解,希望对大家有所帮助-Software for the application of a sensor, AD converter is also a useful example of the key places have made comments, and they hope to help everyone
    2023-08-29 22:10:02下载
    积分:1
  • ASCII conversion into hexadecimal number, single
    ASCII码转换成十六进制数 ,单字节BCD码小数转换成单字节十六进制小数,双字节十六进制小数转换成双字节BCD码小数,单字节十六进制数转换成双字节ASCII码 -ASCII conversion into hexadecimal number, single-byte BCD decimal converted into single-byte hexadecimal minority. double-byte hexadecimal decimal converted into double byte BCD minority. single-byte hexadecimal number into double byte ASCII, etc.
    2022-12-02 14:30:03下载
    积分:1
  • TMS320VC5416的8个LED测试程序,简洁,运行稳定.5410上与些类似.
    TMS320VC5416的8个LED测试程序,简洁,运行稳定.5410上与些类似.-TMS320VC5416 of eight LED testing procedures, simple, stable operation .5410 with more similar.
    2022-08-22 05:27:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载