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

正文內容

基于單片機的信號發(fā)生器-資料下載頁

2025-01-18 14:50本頁面
  

【正文】 P3^5。sbit X9C103_CS = P3^1。sbit X9C103_INC = P3^6。sbit X9C103_UD = P3^7。int VOL_AD=0。int control=0。int VOL0=0,VOL1=0。 VOL3=0。uchar Display_LCD0[]=。 uchar Display_LCD3[]=。void delayms(uint t){ uint x,y。for(x=t。x0。x)for(y=110。y0。y)}void write_(uchar ){ RS=0;RW=0; P0=。 delayms(2)。 E=1。 delayms(2)。 E=0。}void write_data(uchar _data){ RS=1。RW=0。 P0=_data。 delayms(2) E=1。 delayms(2)。 E=0}void display(uchar *p){ while(*p) write_data(*p)。 p++。 delayms(8)。 } } void show_XY(uchar x,uchar y)// { if(x==1) write_(0x80+y)。 //y為第幾個開始顯示 else write_(0x80+y+0x40)。//0x80==128。 0x40==64。 }void initialize() //初始化 { delayms(10)。 write_(0x38)。 delayms(5)。 write_(0x38)。 delayms(5)。 write_(0x38)。 write_(0x38)。 write_(0x08)。 write_(0x01)。 write_(0x06)。 write_(0x0c)。 }void adc0832_1(uint vol_1)// { P3_0=0。 delayms(4)。 P2=vol_1。delayms(40)。P3_0=1。} //**********************************************Void delay_nus(uint i){while(i)。}//**********************************************Void delay_nms(uchar i){for(i。i0。i){delay_nus(1000)。}}*********************************************Void set_x9c102(uchar num, uchar ud, uchar save)//num移動的步數(shù),ud增加減少選擇,save保存{X9C102_CS = 0。 選擇if (ud == 1){X9C102_UD = 1。}else{X9C102_UD = 0。} delay_nus(10)。for(num。num0。num){X9C102_INC = 1。delay_nus(5)。X9C102_INC = 0//INC產(chǎn)生負跳變delay_nms(1)。 }delay_nus(10)。if (save == 1){X9C102_INC = 1。 }delay_nus(10)。X9C102_CS = 1。//不保存值,返回等待}附錄2 系統(tǒng)器件使用清單表元器件名稱數(shù)量元器件名稱數(shù)量AT89S521個Icl80381個Dac08321個X9c1021個Cd40512 個Lcd16021個IC座8 個排針2排1k 電位器1個100k 電位器1個Ua7412 個10k 電阻4 個1k 電阻3 個2 個電容4 個103排阻1個Led1個12M晶振1個附錄3 英文翻譯Design of signal generator base on MCUConcord University College Fujian Normal UniversityDepartment of information technology Electronic information science andtechnology124132008031 ChengMing tutor: dongjianhuai[Abstract] With the rapid expansion of economy, signal generator has got widely development and application. Signal generator can also called function generator, it can produce some specific cycle function waveform signals, such as sine wave, square wave, and triangular wave. In the aspects of circuit experiment and equipment testing, signal generator has a wide range of purposes. It is mainly used for experimental source and now is one of the indispensable equipment of various circuit design of experiment .On the market today, signal generators are mostly lapped joint with pure hardware. Waveform types are divided into sine wave, square wave, and triangular wave. Signal generator consist of discrete ponent is usually single function generator and with low frequency. The work is not only unstable but also not easy to adjust. On the contrary, signal generator of integrated chips can produce high frequency and various waveforms, and it is simpler to operate, it can satisfy the laboratory’s everyday usage.[Key Words] DAC0832。 icl8038。 Adjusting range。 Regulation frequen29
點擊復制文檔內容
環(huán)評公示相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1