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

正文內容

基于單片機的簡單電子琴畢業(yè)設計-閱讀頁

2025-07-05 12:43本頁面
  

【正文】 曲調我們也可以用單片機的另外一個定時/計數(shù)器來完成。其中T0用來產(chǎn)生音符頻率,T1用來產(chǎn)生音拍。  該軟件的特點: ?、?全部滿足我們提出的單片機軟件仿真系統(tǒng)的標準,并在同類產(chǎn)品中具有明顯的優(yōu)勢?! 、?目前支持的單片機類型有:68000系列、8051系列、AVR系列、PIC12系列、PIC16系列、PIC18系列、Z80系列、HC11系列以及各種外圍芯片??傊撥浖且豢罴瘑纹瑱C和SPICE分析于一身的仿真軟件,功能極其強大 ,可仿真5AVR、PIC。機器匯編是通過匯編軟件將源程序變?yōu)闄C器碼, Keil軟件是目前最流行開發(fā)MCS51系列單片機的軟件,這從近年來各仿真機廠商紛紛宣布全面支持Keil即可看出。運行Keil軟件需要16MB或更多RAM、20M以上空閑的硬盤空間、WIN9NT、WIN2000、WINXP等操作系統(tǒng)。選擇芯片,確定選項。3. 用項目管理器生成各種應用文件。5. 編程操作。5. 點擊面板左下角的,開始調試5 總結與展望將程序導入AT89C51芯片,調試成功后,可任意彈奏自己想要的旋律。利用單片機產(chǎn)生不同頻率來獲得我們要求的音階,最終可隨意彈奏想要表達的音樂。通過這次課程設計,我感覺收獲了很多:首先,通過實踐,加深對單片機系列知識及其系統(tǒng)的認識。第二,通過設計學習到了很多軟件的使用。同時感謝我們的聶老師教育了我們單片機相關知識。還可以做得更加娛樂一點,增加一些彩燈使彩燈隨著音調變化而產(chǎn)生不同的樣式。s lives, bee an irreplaceable part. In this paper, the use of single chip designs were analyzed and simple flower design, and introduces a system based on single chip hardware keyboard. In this paper, the design is based on AT89C51 simple music generator, using chip technology, the keyboard and a set of light emitting diodes, SPEARK other to achieve the schematic design, and identification with the C51 programming language for the keyboard and audio pulse output process design. After software and hardware codebugging ,and simulation out of music generator is not only played out through a simple keyboard music, and do not play, press the play button to play builtin music, tone and rhythm control achieved by the system is steady, its simple hardware circuits, software functions, reliability of control system and high cost performance is its advantages. It also has certain practical and reference value.Key words : SCM。 keyboard。 speaker。 electronic organ; 附錄A:程序設計include include include include define uchar unsigned chardefine uint unsigned intuchar STH0。 bit FY=0。 uchar k, key。sbit LED1=P1^0。uchar code DSY_CODE[]= {0x3f,0x06,0x5b,0x4f, 0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c, 0x39,0x5e,0x79,0x71 }。uchar code Len[][50]= { {1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,1},{1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,2,1},{1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,2,1,1,2,2,1},{1,1,1,1,2,1,1,1,1,0,1,1,0,1,1,0,1,1,2,1},{1,1,1,1,0,1,1,1,1,1,0,1,1,0,1,1,0,1,1,3,1,1},{0,1,1,0,1,1,2,1,1,0,1,1,0,1,1,2,1},{0,1,1,2,0,1,1,0,1,1,0,1,1,0,1,1,2,1,1},{0,1,1,0,1,1,2,1,1,0,1,1,0,1,1,4,1},{0,1,1,2,0,1,1,0,1,1,0,1,1,0,1,4,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},{1,1,2,0,1,1,0,1,1,0,1,1,0,1,1,2,1,0,1,1,0,1,1,2,1,1,0,1,1,0,1,1,4,0,1,1,2,0,1,1,0,1,1,0,1,1,0,1,4,1},{1,1,1,1,1,1,1,1,1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,2,2,1},{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}}。 void delay1(uint ms) { uchar t。t120。}void delay(void){ uchar i。i0。}uchar getkey(void){ uchar scancode,tmpcode。0xf0)==0xf0) return(0)。 while((scancodeamp。 if ((P0amp。0xf0)|0x0f。 } else scancode = (scancode1)|0x01。 LED1=1。 }void EX1_INT() interrupt 2{ FY=1。 LED2=1。 TL0 = STL0。 P2=DSY_CODE[k] 。 LED2=0。 IE=0x87。 IT0=1。 while(1) { P0 = 0xf0。0xf0)!=0xf0) { delay()。0xf0)!=0xf0) { key = getkey()。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 break。 } if(FY==0){ STH0 = tab[k]/256。 TR0 = 1。0xf0)!=0xf0)。 else { while (FY==1) { if (Song[k][Tone_Index]==1) Tone_Index=0。 STL0=(tab[Song[k][Tone_Index]])%256。 TR0 = 1。 Tone_Index++。 } } } } } }附錄B 印制電路板(PCB)設計
點擊復制文檔內容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1