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

正文內(nèi)容

基于51單片機(jī)設(shè)計(jì)的音樂跑馬燈課程設(shè)計(jì)-文庫吧資料

2025-06-09 22:28本頁面
  

【正文】 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, 0x18,0x03,0x1f,0x03,0x1f,0x02,0x16,0x03,0x17,0x03, 0x18,0x03,0x17,0x03,0x18,0x03,0x20,0x03,0x20,0x02, 0x1f,0x03,0x1b,0x03,0x1f,0x66,0x20,0x03,0x21,0x03, 0x20,0x03,0x1f,0x03,0x1b,0x03,0x1f,0x66,0x1f,0x03, 0x1b,0x03,0x19,0x03,0x1b,0x03,0x15,0x03,0x1a,0x66, 0x1a,0x03,0x19,0x03,0x15,0x03,0x15,0x03,0x17,0x03, 0x16,0x66,0x17,0x04,0x18,0x04,0x18,0x03,0x19,0x03, 0x1f,0x03,0x1b,0x03,0x1f,0x66,0x20,0x03,0x21,0x03, 0x20,0x03,0x1f,0x03,0x1b,0x03,0x1f,0x66,0x1f,0x03, 22 0x1b,0x03,0x19,0x03,0x19,0x03,0x15,0x03,0x1a,0x66, 0x1a,0x03,0x19,0x03,0x19,0x03,0x1f,0x03,0x1b,0x03, 0x1f,0x00,0x1a,0x03,0x1a,0x03,0x1a,0x03,0x1b,0x03, 0x1b,0x03,0x1a,0x03,0x19,0x03,0x19,0x02,0x17,0x03, 0x15,0x17,0x15,0x03,0x16,0x03,0x17,0x03,0x18,0x03, 0x17,0x04,0x18,0x0e,0x18,0x03,0x17,0x04,0x18,0x0e, 0x18,0x66,0x17,0x03,0x18,0x03,0x17,0x03,0x18,0x03, 0x20,0x03,0x20,0x02,0x1f,0x03,0x1b,0x03,0x1f,0x66, 0x20,0x03,0x21,0x03,0x20,0x03,0x1f,0x03,0x1b,0x03, 0x1f,0x66,0x1f,0x04,0x1b,0x0e,0x1b,0x03,0x19,0x03, 0x19,0x03,0x15,0x03,0x1a,0x66,0x1a,0x03,0x19,0x03, 0x15,0x03,0x15,0x03,0x17,0x03,0x16,0x66,0x17,0x04, 0x18,0x04,0x18,0x03,0x19,0x03,0x1f,0x03,0x1b,0x03, 0x1f,0x66,0x20,0x03,0x21,0x03,0x20,0x03,0x1f,0x03, 0x1b,0x03,0x1f,0x66,0x1f,0x03,0x1b,0x03,0x19,0x03, 0x19,0x03,0x15,0x03,0x1a,0x66,0x1a,0x03,0x19,0x03, 0x19,0x03,0x1f,0x03,0x1b,0x03,0x1f,0x00,0x18,0x02, 0x18,0x03,0x1a,0x03,0x19,0x0d,0x15,0x03,0x15,0x02, 0x18,0x66,0x16,0x02,0x17,0x02,0x15,0x00,0x00,0x03}。 SetSpeed(SystemSpeedIndex)。0x04) { if(RunMode==0x0f) {MusicIndex=(MUSICNUMBER+1)%MUSICNUMBER。 } else {LEDFlash(6)。} else { if(SystemSpeedIndex0) { SystemSpeedIndex。 } if(Keyamp。 if(RunMode==0x0f) TR2=0。 20 RunMode=(RunMode+1)%16。 LEDIndex=0。 void KeyDispose(unsigned char Key) { if(Keyamp。 } } unsigned char MusicIndex=0。 if(++Timer0Count=SystemSpeed) { Timer0Count=0。} else if(RunMode==0x0e) {Mode_E()。} else if(RunMode==0x0c) {Mode_C()。} else if(RunMode==0x0a) {Mode_A()。} else if(RunMode==0x08) {Mode_8()。} 19 else if(RunMode==0x06) {Mode_6()。} else if(RunMode==0x04) {Mode_4()。} else if(RunMode==0x02) {Mode_2()。 } void timer0eventrun(void) //模式選擇 { if(RunMode==0x00) {Mode_0()。 if(LEDIndex==3) LEDDirection=!LEDDirection。 } void Mode_E(void) { if(LEDDirection) LEDShow(0x5555LEDIndex)。 if(LEDIndex==3) LEDDirection=!LEDDirection。 } 18 void Mode_d(void) { if(LEDDirection) LEDShow(0x1111LEDIndex)。 if(LEDIndex==7) LEDDirection=!LEDDirection。 } void Mode_C(void) { if(LEDDirection) LEDShow(0x8080LEDIndex)。 if(LEDIndex==15) LEDDirection=!LEDDirection。 } void Mode_b(void) { if(LEDDirection) LEDShow(0x0003LEDIndex)。 } void Mode_A(void) { LEDShow(0xc000LEDIndex)。 } void Mode_9(void) { 17 LEDShow(0x0003LEDIndex)。 LEDIndex=(LEDIndex+1)%10。 else LEDShow(0xfc00LEDIndex)。 LEDIndex=(LEDIndex+1)%16。 else LEDShow(~(0xf000LEDIndex))。 16 LEDIndex=(LEDIndex+1)%16。 else LEDShow(~(0xf000LEDIndex))。 } LEDIndex=(LEDIndex+1)%16。 } if(LEDIndex==15) { LEDDirection=!LEDDirection。 } else { if(LEDFlag) LEDShow(0x7fffLEDIndex)。 } void Mode_4(void) { if(LEDDirection) { 15 if(LEDFlag) LEDShow(0xfffeLEDIndex)。 if(LEDIndex==15) LEDDirection=!LEDDirection。 } void Mode_3(void) { if(LEDDirection) LEDShow(~(0x0001LEDIndex))。 if(LEDIndex==15) LEDDirection=!LEDDirection。 } void Mode_2(void) { if(LEDDirection) LEDShow(0x0001LEDIndex)。 } void Mode_1(void) 14 { LEDShow(0x8000LEDIndex)。 void Mode_0(void) { LEDShow(0x0001LEDIndex)。 } unsigned int LEDIndex=0。 SetSpeed(SystemSpeedIndex)。 P2=0xff。 P1=0xff。 P3=0x00。 P0=0x00。 SystemSpeedIndex=4。 } void InitialCPU(void) { RunMode=0x00。 P0=~((LEDStatus8)amp。 } void LEDShow(unsigned int LEDStatus) //跑馬燈的輸出 { 13 P1=~(LEDStatusamp。 } unsigned int code SpeedCode[]={1,100,500,1000}。 //定時(shí)器 2 中斷允許 TR2=1。 TH2=RCAP2H=0xfc。 } unsigned int Timer0Count,SystemSpeed,SystemSpeedIndex。0x20)) Key|=0x04。0x10)) Key|=0x02。0x02)) Key|=0x01。 if(KeyTemp==CheckValue) return 0x00。 //調(diào)用延時(shí) KeyTemp=P2amp。 if(CheckValue==0x32) return 0x00。 CheckValue=P2amp。 } Display(RunMode)。 else Display(0x10)。i++) { Flag=!Flag。 for(i=0。 } //數(shù)值輸出至 LED void LEDFlash(unsigned char Count) { unsigned char i。 } unsigned char code LEDDisplayCode[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8, 0x80,0x90,0x88,0x83,0xc6,0xa1,0x86,0x8e,0xff}。j1200。iCount。 void Delay1ms(unsigned int Count) //延時(shí)子程序 { 開 始I/ O 初 始 化模 式 鍵 被 按 下模 式 加 1 , 等 于 9送 L E D 和 跑馬 燈結(jié) 束播 放 音 樂YNYN設(shè) 定 跑 馬燈 初 值檢 查 按 鍵開 關(guān)加 速 鍵 被 按 下 ?減 速 鍵 被 按 下 ?L E D 跑 馬 燈增 加 時(shí) 間 , 使跑 馬 燈 減 速
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1