资料编号:092 下面是相关功能视频演示:
92-基于51单片机的音乐盒播放器proteus仿真(源码+仿真+全套资料)
功能介绍:使用51单片机,采用蜂鸣器进行音乐播放,提供了音乐代码生成器软件,可以插入任何音乐,更改程序即可,全套资料齐全:程序采用C语言,使用keil5编程工具,程序有中文注释,新手比较容易看懂,仿真使用Proteus,
下面是部分程序展示:
//挥着翅膀的女孩
unsigned char code Music_Girl[]={ 0x17,0x02, 0x17,0x03, 0x18,0x03, 0x19,0x02, 0x15,0x03,
0x16,0x03, 0x17,0x03, 0x17,0x03, 0x17,0x03, 0x18,0x03,
0x19,0x02, 0x16,0x03, 0x17,0x03, 0x18,0x02, 0x18,0x03,
0x17,0x03, 0x15,0x02, 0x18,0x03, 0x17,0x03, 0x18,0x02,
0x10,0x03, 0x15,0x03, 0x16,0x02, 0x15,0x03, 0x16,0x03,
0x17,0x02, 0x17,0x03, 0x18,0x03, 0x19,0x02, 0x1A,0x03,
0x1B,0x03, 0x1F,0x03, 0x1F,0x03, 0x17,0x03, 0x18,0x03,
0x19,0x02, 0x16,0x03, 0x17,0x03, 0x18,0x03, 0x17,0x03,
InitialSound();
while(1)
{
Play(Music_Girl,0,3,360);
Delay1ms(500);
Play(Music_Same,0,3,360);
Delay1ms(500);
Play(Music_Two,0,3,360);
Delay1ms(500);
}
}
下面是该资料的分享下载链接:
https://pan.baidu.com/s/1rfoXoJ2HjF9UBh-GqqU4eA?pwd=ev35 https://pan.baidu.com/s/1rfoXoJ2HjF9UBh-GqqU4eA?pwd=ev35