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

正文內(nèi)容

智能儀器儀表課程設(shè)計(jì)led調(diào)光燈亮度控制系統(tǒng)-資料下載頁

2025-06-30 21:09本頁面
  

【正文】 if(CCAP0H0xf4) CCAP0H=0xf4。 }}/*Initial UART*/void InitUart(){ SCON = 0x5a。 PCON=0x80。 //8 bit data ,no parity bit TMOD = 0x20。 //T1 as 8bit auto reload TH1 = TL1 = 13。 //Set Uart baudrate TR1 = 1。 //T1 start running} /*Send one byte data to PC Input: dat (UART data) Output: */void SendData(BYTE dat){ while (!TI)。 //Wait for the previous data is sen TI = 0。 //Clear TI flag SBUF = dat。 //Send current data}/*Send a string to UART Input: s (address of string) Output:None*/void SendString(char *s){ while (*s) { SendData(*s++)。}}/*main()*/ void main(){ BYTE stp=5,ii,tab[3]。 InitUart()。 InitADC()。 init_LCD()。 gotoxy(1,0)。 display_LCD_string( exp: stp: )。 gotoxy(2,0)。 display_LCD_string(act: )。/***PWM控制***/ CCON = 0。 CL = 0。 //復(fù)位PCA的計(jì)數(shù)器 CH = 0。 CMOD = 0x02。 CCAP0H = 0xf4。 CCAP0L = 0x00。 //50 CCAPM0 = 0x42。 CR = 1。 showADC(exp,1)。 gotoxy(1,14)。 display_LCD_number(stp)。 while (1) { if(!button1) { delay_50us(40000)。 xp =stp。 SendData(0xbb)。 //SendData(0xbb)。 } if(!button2) { delay_50us(40000)。 exp +=stp。 SendData(ADC_RES)。 SendData(ADC_LOW2)。 } while(!button3) { if(!button2) { delay_50us(40000)。 stp+=1。 gotoxy(1,14)。 display_LCD_number(stp)。 } if(!button1) { delay_50us(40000)。 stp =1。 gotoxy(1,14)。 display_LCD_number(stp)。 } delay_50us(80000)。 }if(RI) { RI=0。 REV=SBUF。 for (ii=0。ii3。ii++) { tab[ii]=REV%10。 REV/=10。 } for (ii=0。ii3。ii++) { gotoxy(2,14ii)。 display_LCD_number(tab[ii])。 } } showADC(exp,1)。 showADC(GetADCResult_P(),2)。 PI(3,1)。 }}
點(diǎn)擊復(fù)制文檔內(nèi)容
研究報(bào)告相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1