admin 管理员组文章数量: 887021
2024年1月24日发(作者:构造函数何时被调用?)
0x6C,0x62,0x61,0x81,//90x9C,0xB2,0x92,0x8C,0x82,0x92,0xB2,0xB2,0xB2,0x92,0xD4,0xC1,0xD1,0xC1,0xB1,0xCC,0xB2,0xB1,0xC1,//A0xDC,0xD2,0xC1,0xB1,0x9C,0x92,0x91,0xC1,0x92,0x84,0x92,0x82,0x62,0x51,0x61,0x51,0x41,0x48,0x48,//B0x42,0x41,0x51,0x66,0x82,0x91,0xB1,0x92,0x86,0x88,0x42,0x41,0x51,0x66,0x42,0x41,0x51,0x22,0x16,0x18,0x86,0x62,0x58,//C0x83,0x91,0x62,0x82,0x58,0x52,0x62,0x52,0x42,0x22,0x12,0x62,0x52,0x4C,0x62,0x52,//60x66,0x82,0x92,0x82,0x61,0x51,0x41,0x51,0x6C,0x52,0x62,0x56,0x62,0x52,0x42,0x42,0x22,0x1C,0x12,0x22,//70x42,0x44,0x51,0x61,0x82,0x84,0x61,0x81,0x96,0x82,0x66,0x51,0x61,0x56,0x62,0x92,0x82,0x62,0x52,0x4C,0x62,0x61,0x81,//80x9C,0x81,0x91,0x81,0x61,0x6C,0x82,0x62,0x56,0x42,0x24,0x42,0x52,0x6C,0x62,0x61,0x81,//90x9C,0xB2,0x92,0x8C,0x82,0x92,0xB2,0xB2,0xB2,0x92,0xD4,0xC1,0xD1,0xC1,0xB1,0xCC,0xB2,0xB1,0xC1,//A0xDC,0xD2,0xC1,0xB1,0x9C,0x92,0x91,0xC1,0x92,0x84,0x92,0x82,0x62,0x51,0x61,0x51,0x41,0x4C,0x62,0x61,0x81,//80x9C,0x81,0x91,0x81,0x61,0x6C,0x82,0x62,0x56,0x42,0x24,0x42,0x52,0x6C,0x62,0x61,0x81,//90x9C,0xB2,0x92,0x8C,0x82,0x92,0xB2,0xB2,0xB2,0x92,0xD4,0xC1,0xD1,0xC1,0xB1,
0xCC,0xB2,0xB1,0xC1,//A0xDC,0xD2,0xC1,0xB1,0x9C,0x92,0x91,0xC1,0x92,0x84,0x92,0x82,0x62,0x51,0x61,0x51,0x41,0x4C,0x62,0x61,0x81,//D0x66,0x51,0x61,0x86,0x61,0x81,0x52,0x62,0x52,0x42,0x28,0x82,0x91,0x01,0x62,0x11,0x52,0x11,0x01,0x62,0x54,0x48,0x48,0x00};uchar ljsz;uchar jpm;uchar yfm;uchar t0 =0;uint i=0;sbit Speaker =P1^0;uint k;void Delay1(){for ( k=0;k<20000;k++);}void Lignt( ){ uchar t;for(t=0;t<10;t++){P2=0xff;Delay1();P2=0x00;Delay1();}}void Lignt1( ){P2=0xaa;Delay1();P2=0x55;Delay1();}void Delay(uchar t0)//延时{while(t0--) //决定节拍Lignt1();}void Delay2(uchar w0)//延时{while(w0--) //决定节拍Lignt();}void T0Int() interrupt 1//TIMER0{TL0 = ljsz;TH0 = hjsz;Speaker=!Speaker;
songsing();}}
版权声明:本文标题:音乐转换成16进制写进单片机的方法(音符频率和音符的播放长度时间计算 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/jishu/1706064343h500351.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论