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

正文內(nèi)容

課程設(shè)計(jì)論文-基于51單片機(jī)的程控放大器設(shè)計(jì)-資料下載頁(yè)

2025-08-11 05:50本頁(yè)面
  

【正文】 ause)。 }includeiostreamusing namespace std。int i,b,c,d,e。float a。int geti(float c[36],float a){ if(a=c[35]) { for(i=0。c[i]a。i++) {} return i1。 } else return 35。 } int getjk(int c[36],int b){ return c[b]。 } int main(){ float B[36]={,,,1, ,,,, ,,5}。 int C[36]={77,76,75,74,66,73,72,65,71,70,64,55,63,54,62,61,53,60, 44,52,43,51,33,50,42,41,32,40,31,30,22,21,20,11,10,0}。 cina。 b=geti(B,a)。 c=getjk(C,b)。 d=c/10。 e=c%10。 coutbendlcendldendleendl。 system(pause)。 }includeincludesbit P1_5=P1^5。unsigned char i,beishu,cod,p1,p2。unsigned char volmax=0。float Ap,f。char display[3],screen[3]。void delay(unsigned char dly){ unsigned char j。 for(j=dly。j0。j)。}char geti(float c[36],float a){ if(a=c[35]) { for(i=0。c[i]a。i++) {} return i1。 } else return 35。 } void vppfun(unsigned char vol){ if(volvolmax) volmax=vol。 }float code Amp[36]={,,,1,,,,,,5}。unsigned char CD[36]={77,76,75,74,66,73,72,65,71,70,64,55,63,54,62,61,53,60,44,52,43,51,33,50,42,41,32,40,31,30,22,21,20,11,10,0}。int main(){ unsigned char volget。 int voltcal。 char display[4],screen[4]。 LcdInit()。 display[1]=2。 PutStr(0,0,Please wait!)。 while(1) { volget=TLC549_GetAD()。 //AD數(shù)據(jù)獲取 vppfun(volget)。 //峰值獲取 if(P1_5==0) { delay(30)。 Ap=(volmax128)。 //放大倍數(shù)獲取 beishu=geti(Amp,Ap)。 //通過(guò)如已知倍數(shù)比較獲取合適倍數(shù) cod=CD[beishu]。 // 將倍數(shù)與引腳關(guān)系相對(duì)應(yīng) f=Amp[beishu]。 p1=cod/10。 //獲取P1引腳數(shù)值,CD4051選通 p2=cod%10。 //獲取P2引腳數(shù)值,CD4051選通 P1=p1。 P2=p2。 voltcal=f*100。 display[0]= voltcal/100。 display[2]=( voltcal%100)/10。 display[3]= voltcal%10。 for(i=0。i4。i++) { screen[i]=display[i]+48。 PutStr(0,0,The Ampi is:)。 PutChar(i+6,1,screen[i])。 } } } }777675746673726571706415563546261536044521。48543513350424132403130222120111050033
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1