文件名称:C51
介绍说明--下载内容均来自于网络,请自行研究使用
#i nclude <reg52.h>
#i nclude <intrins.h>
//本例采用89C52, 晶振为11.0592MHZ
//关于如何编制音乐代码, 其实十分简单,各位可以看以下代码.
//频率常数即音乐术语中的音调,而节拍常数即音乐术语中的多少拍
//所以拿出谱子, 试探编吧!
-# I nclude <reg52.h># I nclude <intrins.h>// This example uses a 89C52, crystal of 11.0592MHZ// code on how to prepare music, is actually very simple, you can see the following code// frequency constant term in the musical tone, while a constant beat that in terms of how much music film // So get out music score, test code now!
#i nclude <intrins.h>
//本例采用89C52, 晶振为11.0592MHZ
//关于如何编制音乐代码, 其实十分简单,各位可以看以下代码.
//频率常数即音乐术语中的音调,而节拍常数即音乐术语中的多少拍
//所以拿出谱子, 试探编吧!
-# I nclude <reg52.h># I nclude <intrins.h>// This example uses a 89C52, crystal of 11.0592MHZ// code on how to prepare music, is actually very simple, you can see the following code// frequency constant term in the musical tone, while a constant beat that in terms of how much music film // So get out music score, test code now!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
C51音乐程序.doc