文件名称:musicplay51mcu
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:4.28kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
单片机用T1中断在IO口P1.0输出乐曲(在P1.0口与VCC间接一喇叭即可听到) //
// 1.由于输出的是方波,比较难听:-)你也可以将波形细分用DA输出正弦波 //
// 2.由于T1频繁中断,任何其他中断发生都会是乐曲打顿,只适合试验 //
// 3.优化音符编码:一个字节中包含节拍、音符、升降调,可区分数据和命令-T1 chip Computer IO interruption in output P1.0 mouth music (P1.0 mouth with a loudspeaker indirectly VCC can be heard) / / / / 1. As the square wave output, more bluntly : -) You can also use sub-DA waveform output sine wave / / / / 2. As T1 frequently interrupted, any other interruption occurred will be playing music Kingston, it is only suitable for testing / / / / 3. Code optimization notes : a byte contains rhythms, musical notes, movements emphasize that can distinguish between data and orders
// 1.由于输出的是方波,比较难听:-)你也可以将波形细分用DA输出正弦波 //
// 2.由于T1频繁中断,任何其他中断发生都会是乐曲打顿,只适合试验 //
// 3.优化音符编码:一个字节中包含节拍、音符、升降调,可区分数据和命令-T1 chip Computer IO interruption in output P1.0 mouth music (P1.0 mouth with a loudspeaker indirectly VCC can be heard) / / / / 1. As the square wave output, more bluntly : -) You can also use sub-DA waveform output sine wave / / / / 2. As T1 frequently interrupted, any other interruption occurred will be playing music Kingston, it is only suitable for testing / / / / 3. Code optimization notes : a byte contains rhythms, musical notes, movements emphasize that can distinguish between data and orders
(系统自动生成,下载前可以参看下载内容)
下载文件列表
music play.c
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.