51开拓者单片机c语言开发例程, ÒôÀÖ²¥·ÅÆ÷Éè¼Æ *
ʵÏÖÏÖÏó£ºÏÂÔسÌÐòºó£¬·äÃùÆ÷²¥·ÅÒôÀÖ
×¢ÒâÊÂÏ
***************************************************************************************/
#include "reg52.h" //´ËÎļþÖж¨ÒåÁ˵¥Æ¬»úµÄһЩÌØÊ⹦ÄܼĴæÆ÷
#include "SoundPlay.h"
#include "music.h"
typedef unsigned int u16; //¶ÔÊý¾ÝÀàÐͽøÐÐÉùÃ÷¶¨Òå
typedef unsigned char u8;
void Delay1ms(unsigned int count)
{
unsigned int i,j;
for(i=0;i<count;i++)
for(j=0;j<120;j++);
}
void main()
{
InitialSound();
while(1)
{
Play(Music_Girl,0,3,360);
Delay1ms(500);
Play(Music_Same,0,3,360);
Delay1ms(500);
Play(Music_Two,0,3,