freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

單片機課程設(shè)計——紅外遙控音樂播放器(參考版)

2025-01-21 14:09本頁面
  

【正文】 在此向老師表示深深的感謝和崇高的敬意。}齊齊哈爾大學(xué)致 謝本次單片機課程設(shè)計是在祁老師的指導(dǎo)和要求下完成的,每一個電路的設(shè)計步驟和程序設(shè)計過程都有老師的細心教導(dǎo),同時也有同學(xué)們的各種幫助。 //接收開始標志位 irtime=0。 irreceok=1。 bitnum++。 } irdata[bitnum]=irtime。 count++。 i++。 play(qumu[n])。 play(qumu[n])。 play(qumu[1])。 play(qumu[0])。 play(qumu[0])。 } display()。 } if(irprocok) //解碼完成 { irwork()。 //外部中斷初始化 while(1) { if(irreceok) //接收完成 { irproc()。 //返回主函數(shù)播放qumu[n] } } } }}void main(){ timer0init()。 n=0。 return。shuaxin==1) //播放下一曲 { if(l==0) //當(dāng)前播放曲目0 { shuaxin=0。 //返回主函數(shù)播放qumu[n] } } if(ircode[2]==0x05amp。 n=0。 return。shuaxin==1) //播放上一曲 { if(l==0) //當(dāng)前播放曲目0 { shuaxin=0。 } if(ircode[2]==0x07amp。shuaxin==1) //曲目1 { shuaxin=0。 } if(ircode[2]==0x16amp。shuaxin==1) //曲目0 { shuaxin=0。 } if(ircode[2]==0x17amp。shuaxin==1) //停止 { shuaxin=0。 //返回主函數(shù)播放qumu[n] } } } } if(ircode[2]==0x0aamp。 n=0。 return。shuaxin==1) //播放下一曲 { if(l==0) //當(dāng)前播放曲目0 { shuaxin=0。 //返回主函數(shù)播放qumu[n] } } if(ircode[2]==0x05amp。 n=0。 return。shuaxin==1) //播放上一曲 { if(l==0) //當(dāng)前播放曲目0 { shuaxin=0。 } if(ircode[2]==0x07amp。shuaxin==1) //曲目1 { shuaxin=0。 } if(ircode[2]==0x16amp。shuaxin==1) //曲目0 { shuaxin=0。 } if(ircode[2]==0x17amp。shuaxin==1) //停止播放 { shuaxin=0。 } if(ircode[2]==0x0aamp。 //顯示 if(ircode[2]==0x06) //暫停后重新播放 { shuaxin=0。 //把解碼后的數(shù)據(jù)轉(zhuǎn)成16進制的兩位數(shù) irprocok=0。 //解碼 irreceok=0。shuaxin==1) //暫停 { shuaxin=0。 if(ircode[2]==0x02amp。 } if(irprocok) //解碼完成 { irwork()。 } } } if(irreceok) //接收完成 { irproc()。 //關(guān)閉位選 if(temp2 == count) //節(jié)拍 { count = 0。 //數(shù)據(jù)管位選 delay_25us(temp1)。 //關(guān)閉位選 P0=table[disp[1]]。 delay_25us(temp1)。 //P0口送數(shù)據(jù) P2=0x06。 TR0 = 1。 } else if (temp1 == 0x00) //歌曲結(jié)束符 { return。 if (temp1 == 0xFF) //休止符 { TR0 = 0。 //中斷計數(shù)清0 addr = l * 217。 uint addr。 //顯示數(shù)值保持100us P2=0x00。 //P0口送數(shù)據(jù) P2=0x07。 //顯示數(shù)值保持100us P2=0x00。 //P0口送數(shù)據(jù) P2=0x06。 //取出ircode中的兩位“數(shù)據(jù)碼” disp[1]=ircode[2]%16。 //每組解碼后的值存入ircode } irprocok=1。 //解碼數(shù)據(jù)為1 則高位或1 則高位置1 } k++。m++) //每組8位 { value=value1。j++) //4組二進制碼 { for(m=0。 for(j=0。 //開總中斷}void irproc(void) //解碼函數(shù) { uchar k,value,m,j。 //外部中斷1負跳變沿有效 EX1=1。 //開總中斷 TR0=1。 ET0=1。 //定時器0 定時方式2 8位自動重裝 TH0=0x00。j)。t) { for(j=3。 for(。j)。t) { for(j=19。 for(。 //曲目數(shù)組unsigned char code song[] ={ //祝你平安0x26,0x20,0x20,0x20,0x20,0x20,0x26,0x10,0x20,0x10,0x20,0x80,0x26,0x20,0x30,0x20,0x30,0x20,0x39,0x10,0x30,0x10,0x30,0x80,0x26,0x20,0x20,0x20,0x20,0x20,0x1c,0x20,0x20,0x80,0x2b,0x20,0x26,0x20,0x20,0x20,0x2b,0x10,0x26,0x10,0x2b,0x80,0x26,0x20,0x30,0x20,0x30,0x20,0x39,0x10,0x26,0x10,0x26,0x60,0x40,0x10,0x39,0x10,0x26,0x20,0x30,0x20,0x30,0x20,0x39,0x10,0x26,0x10,0x26,0x80,0x26,0x20,0x2b,0x10,0x2b,0x10,0x2b,0x20,0x30,0x10,0x39,0x10,0x26,0x10,0x2b,0x10,0x2b,0x20,0x2b,0x40,0x40,0x20,0x20,0x10,0x20,0x10,0x2b,0x10,0x26,0x30,0x30,0x80,0x18,0x20,0x18,0x20,0x26,0x20,0x20,0x20,0x20,0x40,0x26,0x20,0x2b,0x20,0x30,0x20,0x30,0x20,0x1c,0x20,0x20,0x20,0x20,0x80,0x1c,0x20,0x1c,0x20,0x1c,0x20,0x30,0x20,0x30,0x60,0x39,0x10,0x30,0x10,0x20,0x20,0x2b,0x10,0x26,0x10,0x2b,0x10,0x26,0x10,0x26,0x10,0x2b,0x10,0x2b,0x80,0x18,0x20,0x18,0x20,0x26,0x20,0x20,0x20,0x20,0x60,0x26,0x10,0x2b,0x20,0x30,0x20,0x30,0x20,0x1c,0x20,0x20,0x20,0x20,0x80,0x26,0x20,0x30,0x10,0x30,0x10,0x30,0x20,0x39,0x20,0x26,0x10,0x2b,0x10,0x2b,0x20,0x2b,0x40,0x40,0x10,0x40,0x10,0x20,0x10,0x20,0x10,0x2b,0x10,0x26,0x30,0x30,0x80,0x00, //八月桂花遍地開0x18,0x30,0x1C,0x10,0x20,0x40,0x1C,0x10,0x18,0x10,0x20,0x10,0x1C,0x10,0x18,0x40,0x1C,0x20,0x20,0x20,0x1C,0x20,0x18,0x20,0x20,0x80,0xFF,0x20,0x30,0x1C,0x10,0x18,0x20,0x15,0x20,0x1C,0x20,0x20,0x20,0x26,0x40,0x20,0x20,0x2B,0x20,0x26,0x20,0x20,0x20,0x30,0x80,0xFF,0x20,0x20,0x1C,0x10,0x18,0x10,0x20,0x20,0x26,0x20,0x2B,0x20,0x30,0x20,0x2B,0x40,0x20,0x20,0x1C,0x10,0x18,0x10,0x20,0x20,0x26,0x20,0x2B,0x20,0x30,0x20,0x2B,0x40,0x20,0x30,0x1C,0x10,0x18,0x20,0x15,0x20,0x1C,0x20,0x20,0x20,0x26,0x40,0x20,0x20,0x2B,0x20,0x26,0x20,0x20,0x20,0x
點擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1