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

正文內(nèi)容

畢業(yè)設(shè)計(jì)-基于at89c51單片機(jī)的帶彩燈外觀音樂(lè)盒設(shè)計(jì)(完整版)

  

【正文】 break。 case 4: for(x=0。x++) { if(key3==1) {P1=0xff。 break。 beep()。 TL0=0。//流水燈無(wú)花樣 count2=1。 //不同音調(diào)對(duì)應(yīng)的定時(shí)器初值 //適合 的晶振 uchar code chuzhi[]={ 0xff,0xff,//占位 0xFC,0x8E,//中央 C 調(diào) 17 0xFC,0xED, 單片機(jī) 原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 11 0xFD,0x43, 0xFD,0x6A, 0xFD,0xB3, 0xFD,0xF3, 0xFE,0x2D, 0xFE,0x47, //高八度 17 0xFE,0x76, 0xFE,0xA1, 0xFE,0xC7, 0xFE,0xD9, 0xFE,0xF9, 0xFF,0x16 }。 //音樂(lè)代碼 //音樂(lè)代碼中,字節(jié)高位控制頻率 ,即為音調(diào)。//花樣燈 1 uchar code huayang2[]={0x7f,0xfe,0xbf,0xfd,0xdf,0xfb,0xef,0xf7, 0xef,0xfb,0xdf,0xfd,0xbf,0xfe}。 此次課程設(shè)計(jì)也使我對(duì) C 編程的有關(guān)知識(shí)得以溫習(xí)和重新學(xué)習(xí)。 在 keil 中生成 HEX 文件,裝入 單片機(jī)中 運(yùn)行,按 key1 可看單片機(jī) 原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 6 到花樣燈閃爍,每按一次 變化一種樣式。 八路 LED 燈燈接到 P1 口。這可以用延時(shí)程序 delay()來(lái)實(shí)現(xiàn)。根據(jù)每個(gè)音調(diào)的頻率單片機(jī)內(nèi)部的定時(shí)計(jì)數(shù)器來(lái)產(chǎn)生相應(yīng)的音樂(lè)脈沖。 關(guān)鍵字: AT89C51; 音樂(lè)盒 ; 按鍵 ; 彩燈 單片機(jī) 原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 1 Abstract Along with the development of human society, people of vision, hearing things put forward higher request. Small music box can bring good memories and improve people39。傳統(tǒng)音樂(lè)盒多是機(jī)械型的,體積笨重,發(fā)音單調(diào),不能實(shí)現(xiàn)批量生產(chǎn)。 Key2 控制音樂(lè)播放,本設(shè)計(jì)有五首音樂(lè),每按一次變換 到下 一首 , 同時(shí)八路 LED 燈隨音調(diào)不同而閃爍 。 例如頻率為 523Hz,其周期 T=1/523=1912us, 定時(shí)時(shí)間為 1912/2=956us 因此只要令計(jì)數(shù)器計(jì)時(shí) 956us/1us=956 次 (若晶振頻率為 6MHZ),在每次 計(jì)數(shù) 956 次時(shí)將 I/O 反相,就可得到中音 DO(523Hz)。 每產(chǎn)生一次中斷 count2 加一,根據(jù) count2 的數(shù)值來(lái)決定播放哪一首歌曲。在 keil 中該程序 能夠運(yùn)單片機(jī) 原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 5 行證明 編寫(xiě)成功。例如 我 對(duì)單片機(jī)的中斷系統(tǒng) 就 了解不夠深 , 這使得我在設(shè)計(jì)按鍵控制的時(shí)候, 面臨很大的問(wèn)題,最終 我通過(guò)重新翻閱課本及相關(guān)資料, 克服了這一困難。//總開(kāi)關(guān),用于總體控制花樣燈跟歌曲。 //花樣燈 6 uchar count1。 uchar code lzh[]={//國(guó)歌 0x03, 0x04,0x04,0xc2,0x14,0x12,0x12,0x12,0x11,0x11,0xc2,0xd1, 0xe1,0x14,0x02,0x32,0x12,0x21,0x31,0x52,0x51,0x51,0x54, 0x32,0x31,0x31,0x12,0x11,0x31,0x52,0x51,0x31,0x24,0x24, 0x24,0x64,0x54,0x24,0x34,0x52,0x32,0x21,0x31,0x12,0x11,0x21,0x34,0x04, 0x52,0x51,0xd1,0x12,0x12,0x32,0x31,0x31,0x52,0x51,0x51,0x22,0x22,0x22, 0xd2,0xd1,0x24,0x22,0xc2,0x14,0x12,0x34,0x32,0x32,0x54,0x54,0x54,0x54, 0x12,0x11,0x31,0x52,0x51,0x51,0x64,0x54,0x32,0x31,0x11,0x52,0x52,0x52, 0x32,0x02,0x12,0x02,0xc4,0x14, 0xa2,0xa1,0x11,0x52,0x52,0x52,0x32,0x02,0x12,0x02, 0xc4,0x14,0xc4,0x14,0xc4,0x14,0x14,0x04, 0x04,0x04,0x04,0x04, 0xff }。 void beep()。//開(kāi)外部中斷 1 IT1=1。 fm=0。x14。 } break。 delay1(300)。} P1=huayang4[x]。 fm=0。x8。 } break。 if(count1==7) count1=1。 if(count2==6) count2=1。i++) { fm=~fm。y)。 uchar jp。 if(count2==3) //count2==3 選擇千 年之戀 temp=qnzl[i]。 } else { TR0=0。 } TR0=0。s 150th anniversary celebrations and will attend City39?;蛟S是愧疚于自己似乎把轉(zhuǎn)瞬即逝的很多個(gè)不同的日子過(guò)成了同一天的樣子;或許是追溯過(guò)去,對(duì)自己那些近乎偏執(zhí)的怪異信念的醒悟,這些天以來(lái),思緒一直很凌亂,在腦海中不斷糾纏。t remember his appearance. 童年時(shí),覺(jué)得壓歲錢(qián)和新衣服是過(guò)年必備,但是隨著年齡的推進(jìn),會(huì)越來(lái)越發(fā)現(xiàn),那些東西根本就可有可無(wú);初中時(shí),以為要有一場(chǎng)暗戀才意味著真正的成長(zhǎng),但三年過(guò)去后,自己心平氣和的寫(xiě)同學(xué)錄的時(shí)候,突然就發(fā)現(xiàn)是不是真正的成長(zhǎng)了,好像并沒(méi)有那么重要了;然后到了高中,覺(jué)得非要吐露出自己的心聲才能為高中生涯里的懵懂情愫劃上一個(gè)句點(diǎn),但畢業(yè)晚會(huì)的時(shí)候最終還是被梗塞在了咽喉,后來(lái)再次站在他曾經(jīng)揮汗如雨的球場(chǎng),看著他投過(guò)籃球的球框時(shí),突然間發(fā)現(xiàn)自己已經(jīng)想不起他的容顏。 At the moment, the sky is dark, the air is fresh factor after just rained. Suddenly thought of blue plaid shirt。s not needed. Instead, he plans to deploy his 270squarefoot (25squaremeter) main chute at an altitude of around 5,000 feet (1,524 meters). In order to deploy this chute successfully, he will have to slow to 172 mph (277 kph). He will have a reserve parachute that will open automatically if he loses consciousness at mach speeds. Even if everything goes as planned, it won39。 From the corner at the beginning of deep friendship。 A person39。二十年的人生軌跡深深淺淺,突然就感覺(jué)到有些事情,非做不可了。s about how he felt and I would like to speak to him first to find out what his experience was. Uefa has opened disciplinary proceedings against CSKA for the racist behaviour of their fans during City39。 } g an employment tribunal clai Employment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: ? you don39。//關(guān)蜂鳴器 } delay(temp%16)。 if(count2==5) //count2==5 國(guó)歌 temp=lzh[i]。 while(1) { if(count2==0) { break。 for(x=z。 } fm=1。//開(kāi)總中斷 單片機(jī) 原理及系統(tǒng)課程設(shè)計(jì)報(bào)告 15 } void timer0() interrupt 1 //用于產(chǎn)生各種音調(diào) { TH0=timeh。//開(kāi)總中斷 } void int1() interrupt
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1