-
First, the use of a keyboard display interface chip receive keys keys 8279, and...
一、 使用键盘显示接口芯片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.
- 2023-03-17 05:55:03下载
- 积分:1
-
汇编操作蜂鸣器演奏音乐的例程,使用MASM6.15编译通过
汇编操作蜂鸣器演奏音乐的例程,使用MASM6.15编译通过-operation of buzzer
- 2022-02-15 05:23:26下载
- 积分:1
-
ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两...
ST套件产生汽车防盗器报警声,本实例的目的是让大家学会用单片机产生声音的方法,学会计算程序所用时间 本实例的功能是能用16F84产生汽车防盗器的报警声,频率分两个0.1s第一个
0.1S频率从1.8K-3.5K匀速增加第二个0.1S频率从3.5K-1.8K匀速减少,
程序复位后,按S2喇叭叫两声,按S3喇叭叫15秒,中途可按S5停止.
PIC单片机
烧写时应注意:配置位已经在程序中写明,加载HEX文件时会自动加载,烧写时不用再手动设置配置位。
实验时请注意套件跳线选择;-pic
- 2023-08-29 13:20:02下载
- 积分:1
-
89c2051 外部中断检测 通过max232与PC通讯
发送数据
89c2051 外部中断检测 通过max232与PC通讯
发送数据-89c2051 through max232 Detect external interrupt communication with the PC to send data
- 2022-02-06 17:32:51下载
- 积分:1
-
可以保存计算过程。
可以保存计算过程。-can preserve the computation process.
- 2022-03-24 05:40:44下载
- 积分:1
-
俄罗斯方块程序源码
俄罗斯方块程序源码-Tetris procedures FOSS
- 2022-07-22 22:00:36下载
- 积分:1
-
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考...
三相电机调速程序,集成了AD,系统初始化,结构化。可以作为电机控制的参考-three-phase motor procedures, the AD integration, system initialization, structured. As motor control reference
- 2022-05-17 06:01:21下载
- 积分:1
-
自己看下吧
自己看下吧-Facie own it
- 2022-01-26 15:43:31下载
- 积分:1
-
在PC机上进行的8250串口实验,采用汇编语言编写
在PC机上进行的8250串口实验,采用汇编语言编写-In PC, the 8250 serial experiments, the use of compiled languages
- 2022-04-18 17:34:45下载
- 积分:1
-
sql server工具sql server工具
sql server工具sql server工具-sql server tools sql server tools
- 2022-02-12 03:05:16下载
- 积分:1