亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

SUM

  • Replace every element on the diagonal of an array with the SUM of the elements on the current column

    Replace every element on the diagonal of an array with the SUM of the elements on the current column OR row. Labview

    標簽: the diagonal elements Replace

    上傳時間: 2017-08-24

    上傳用戶:lps11188

  • TLC2543 中文資料

    TLC2543是TI公司的12位串行模數轉換器,使用開關電容逐次逼近技術完成A/D轉換過程。由于是串行輸入結構,能夠節省51系列單片機I/O資源;且價格適中,分辨率較高,因此在儀器儀表中有較為廣泛的應用。 TLC2543的特點 (1)12位分辯率A/D轉換器; (2)在工作溫度范圍內10μs轉換時間; (3)11個模擬輸入通道; (4)3路內置自測試方式; (5)采樣率為66kbps; (6)線性誤差±1LSBmax; (7)有轉換結束輸出EOC; (8)具有單、雙極性輸出; (9)可編程的MSB或LSB前導; (10)可編程輸出數據長度。 TLC2543的引腳排列及說明    TLC2543有兩種封裝形式:DB、DW或N封裝以及FN封裝,這兩種封裝的引腳排列如圖1,引腳說明見表1 TLC2543電路圖和程序欣賞 #include<reg52.h> #include<intrins.h> #define uchar unsigned char #define uint unsigned int sbit clock=P1^0; sbit d_in=P1^1; sbit d_out=P1^2; sbit _cs=P1^3; uchar a1,b1,c1,d1; float SUM,SUM1; double  SUM_final1; double  SUM_final; uchar duan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f}; uchar wei[]={0xf7,0xfb,0xfd,0xfe};  void delay(unsigned char b)   //50us {           unsigned char a;           for(;b>0;b--)                     for(a=22;a>0;a--); }  void display(uchar a,uchar b,uchar c,uchar d) {    P0=duan[a]|0x80;    P2=wei[0];    delay(5);    P2=0xff;    P0=duan[b];    P2=wei[1];    delay(5);   P2=0xff;   P0=duan[c];   P2=wei[2];   delay(5);   P2=0xff;   P0=duan[d];   P2=wei[3];   delay(5);   P2=0xff;   } uint read(uchar port) {   uchar  i,al=0,ah=0;   unsigned long ad;   clock=0;   _cs=0;   port<<=4;   for(i=0;i<4;i++)  {    d_in=port&0x80;    clock=1;    clock=0;    port<<=1;  }   d_in=0;   for(i=0;i<8;i++)  {    clock=1;    clock=0;  }   _cs=1;   delay(5);   _cs=0;   for(i=0;i<4;i++)  {    clock=1;    ah<<=1;    if(d_out)ah|=0x01;    clock=0; }   for(i=0;i<8;i++)  {    clock=1;    al<<=1;    if(d_out) al|=0x01;    clock=0;  }   _cs=1;   ad=(uint)ah;   ad<<=8;   ad|=al;   return(ad); }  void main()  {   uchar j;   SUM=0;SUM1=0;   SUM_final=0;   SUM_final1=0;    while(1)  {              for(j=0;j<128;j++)          {             SUM1+=read(1);             display(a1,b1,c1,d1);           }            SUM=SUM1/128;            SUM1=0;            SUM_final1=(SUM/4095)*5;            SUM_final=SUM_final1*1000;            a1=(int)SUM_final/1000;            b1=(int)SUM_final%1000/100;            c1=(int)SUM_final%1000%100/10;            d1=(int)SUM_final%10;            display(a1,b1,c1,d1);           }         } 

    標簽: 2543 TLC

    上傳時間: 2013-11-19

    上傳用戶:shen1230

  • 單片機電子表原理圖和程序代碼 (PCB電路)

    單片機電子表原理圖和C語言程序代碼: select 成績表.學號,學生信息.姓名,學生信息.學院專業 ,SUM(成績表.分數) 總分 ,avg(成績表.分數) 平均分 from 成績表,學生信息 where 學生信息.學號=成績表.學號  group by 成績表.學號,學生信息.姓名 ,成績表.分數,學生信息.學院專業select 學生信息.學院專業 ,SUM(成績表.分數) 總分,avg(成績表.分數) 平均分 from 成績表,學生信息 where 學生信息.學號=成績表.學號  group by 學生信息.學院專業 select 學生信息.學院專業,count(成績表.分數) 不及格人數 from 成績表,學生信息 where 學生信息.學號=成績表.學號 and 成績表.分數>60 group by 學生信息.學院專業,成績表.分數

    標簽: PCB 單片機 代碼 電子表

    上傳時間: 2014-04-03

    上傳用戶:kaixinxin196

  • 用Java寫的報表.功能如下: 0.內建網絡打印,網絡預覽功能! 1.文件操作。包括url 指定的文件。 2.全功能打印支持。包括打印預覽。 3.Undo 和 redo。 4.合并單元格。 5.Cel

    用Java寫的報表.功能如下: 0.內建網絡打印,網絡預覽功能! 1.文件操作。包括url 指定的文件。 2.全功能打印支持。包括打印預覽。 3.Undo 和 redo。 4.合并單元格。 5.Cell selection using the mouse or keyboards(快捷鍵支持)。 6.單元格高寬調整 。 7.豐富的前景刷支持,前景可以是單色,雙色漸變,JPG,PNG,GIF圖形 。 8.背景刷支持,前景可以是單色,雙色漸變,JPG,PNG,GIF圖形 。 9.每個單元格支持空心字體,各其他一般字體。 10.每個單元格可設置為只讀。 11.每個單元格上下左右可分別高設置邊框,邊框線的寬度,顏色可調。 12.拖放操作。可在一個應用中的不同單元格拖放,也可在兩個應用的之間進行拖放。支持剪切和COPY兩種方式。 13.剪貼板功能。支持文本方式和全格式兩種方式。剪貼也允許在兩個應用之間進行。可以從EXCELL單元格中復制到本應用中。 14.單元格線,滾動條,行頭,列頭顯示可選. 15.支持公式定義,公式定義采用?作標記,如?SUM(A1:B1)。 16.數字格式可自由定義,如 12345678, 可自動化為 12,345,678.00 。 17.豐富的頁腳頁眉屬性。具有以上3,4,5,6?,8,9,10,11,12,13,15,16,17各項功能。

    標簽: Java Undo redo Cel

    上傳時間: 2015-03-15

    上傳用戶:熊少鋒

  • 詞法分析程序

    詞法分析程序,可對以下的C源程序進行分析:main() {int a[12] ,SUM for(i=1 i<=12 i++) {for(j=1 j<=12 j++)scanf("%d",&a[i][j]) } for(i=12 i>=1 i--){ for(j=12 j>=1 j--){ if(i==j&&i+j==13)SUM+=a[i][j] } } printf("%c",SUM) }

    標簽: 程序

    上傳時間: 2013-12-26

    上傳用戶:skhlm

  • DM9000AE的中文手冊。很難得得哦。LOCAL BUS芯片現推薦一款DM9000AE網卡芯片

    DM9000AE的中文手冊。很難得得哦。LOCAL BUS芯片現推薦一款DM9000AE網卡芯片,其基本特性是48PIN,10/100MLOCAL-BUS interface,工作模式8/16bit, 有AUTO-Mdix(自動翻轉)、TCP/Ip加速(check SUM offload)減輕CPU負擔,提高整機效能,20ns響應時間。2.5V/3.3V低功耗。廣泛應用在IPTV、IPSETBOX、VOD、IPCAMERA、IPVIDEOPHONE等產品.

    標簽: 9000 LOCAL DM AE

    上傳時間: 2015-05-02

    上傳用戶:dyctj

  • 數字運算

    數字運算,判斷一個數是否接近素數 A Niven number is a number such that the SUM of its digits divides itself. For example, 111 is a Niven number because the SUM of its digits is 3, which divides 111. We can also specify a number in another base b, and a number in base b is a Niven number if the SUM of its digits divides its value. Given b (2 <= b <= 10) and a number in base b, determine whether it is a Niven number or not. Input Each line of input contains the base b, followed by a string of digits representing a positive integer in that base. There are no leading zeroes. The input is terminated by a line consisting of 0 alone. Output For each case, print "yes" on a line if the given number is a Niven number, and "no" otherwise. Sample Input 10 111 2 110 10 123 6 1000 8 2314 0 Sample Output yes yes no yes no

    標簽: 數字 運算

    上傳時間: 2015-05-21

    上傳用戶:daguda

  • 某幼兒園按如下方法依次給A

    某幼兒園按如下方法依次給A,B,C,D,E五個小孩發糖果。將全部糖果的一半再加二分之一塊糖果發給第一個小孩;將剩下糖果的三分之一再加三分之一塊糖果發給第二個小孩;將剩下糖果的四分之一再加四分之一塊糖果發給第三個小孩;將剩下糖果的五分之一再加五分之一塊糖果發給第四個小孩;將最后剩下的11塊糖果發給第五個小孩。每個小孩得到的糖果數均為整數。試確定原來共有多少塊糖果?每個小孩各得到多少塊糖果? 要求結果的輸出格式為 SUM=糖果總數 xa=A得到的糖果數 xb=B得到的糖果數 xc=C得到的糖果數 xd=D得到的糖果數 xe=E得到的糖果數

    標簽:

    上傳時間: 2015-06-02

    上傳用戶:葉山豪

  • 51串行令牌格式 a51編譯 Read data from serial port and write into buffer DPTR pointed in XRAM if a data

    51串行令牌格式 a51編譯 Read data from serial port and write into buffer DPTR pointed in XRAM if a data frame is received and calculate the check SUM if a information frame is received return control byte only

    標簽: data pointed buffer serial

    上傳時間: 2015-06-14

    上傳用戶:極客

  • 暫時只支持jpeg2000支持的 cdf97 和spline53 可以這樣來測試: x=imread( E:studyjpeg2000imageslena.tif ) % see the de

    暫時只支持jpeg2000支持的 cdf97 和spline53 可以這樣來測試: x=imread( E:\study\jpeg2000\images\lena.tif ) % see the decomposition coefficients y=wavelift(x, 1, spl53 ) using spline 5/3 wavelet figure subplot(1,2,1) imshow(x) subplot(1,2,2) imshow(mat2gray(y)) % see the reconstruction precision yy=wavelift(x, 5) using cdf 9/7 wavelet ix=wavelift(yy,-5) inverse SUM(SUM((double(x)-ix).^2))

    標簽: 2000 imageslena studyjpeg imread

    上傳時間: 2014-01-14

    上傳用戶:懶龍1988

主站蜘蛛池模板: 庄浪县| 东宁县| 开封县| 改则县| 兰考县| 翼城县| 新绛县| 柘城县| 资源县| 昌宁县| 东海县| 九寨沟县| 蓝田县| 克拉玛依市| 淳化县| 太谷县| 响水县| 海阳市| 乐平市| 甘孜县| 苗栗县| 普宁市| 探索| 盐池县| 鄱阳县| 新野县| 武平县| 古丈县| 白城市| 策勒县| 博爱县| 西昌市| 海宁市| 宁国市| 乌拉特中旗| 上饶市| 长治市| 仪征市| 江安县| 阿巴嘎旗| 乳山市|