需要的自取。
單片機源程序如下:
- #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);
- ……………………
- …………限于本文篇幅 余下代碼請從51黑下載附件…………
復制代碼
所有資料51hei提供下載:
音樂播放器.rar
(193.31 KB, 下載次數: 33)
2017-5-17 21:27 上傳
點擊文件名下載附件
音樂播放器
|