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

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

source-<b>Code</b>-for-AVR

  • 微電腦型數學演算式雙輸出隔離傳送器

    特點(FEATURES) 精確度0.1%滿刻度 (Accuracy 0.1%F.S.) 可作各式數學演算式功能如:A+B/A-B/AxB/A/B/A&B(Hi or Lo)/|A| (Math functioA+B/A-B/AxB/A/B/A&B(Hi&Lo)/|A|/etc.....) 16 BIT 類比輸出功能(16 bit DAC isolating analog output function) 輸入/輸出1/輸出2絕緣耐壓2仟伏特/1分鐘(Dielectric strength 2KVac/1min. (input/output1/output2/power)) 寬范圍交直流兩用電源設計(Wide input range for auxiliary power) 尺寸小,穩定性高(Dimension small and High stability)

    標簽: 微電腦 數學演算 輸出 隔離傳送器

    上傳時間: 2013-11-24

    上傳用戶:541657925

  • 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

  • AVR事無巨細系列

    ,我說說AVR 的集成開發環境。也就是常說的IDE(Integrated Development Environment)。圖片比較多,雖然用軟件處理過體積,網頁可能還是比較慢,還請見諒。 現今世界上的AVR 開發環境可以說是百花齊放了,互相當然各有長短,我們看看都有哪些: 首當其沖的應該還是IAR,為什么呢,因為當初AVR 還在ATMEL 胎中醞釀的時候,IAR 公司 參與了AVR 的設計,因此可以認為IAR 有更為正統的血液,它最了解AVR,它的編譯器編出來的 代碼應該最優秀。好比你生的孩子還是你最了解——至少相當長一段時間是這樣的。事實上,IAR for AVR 確實展現了這個實力,它的功能確實最為強大,無論是源代碼編寫還是軟件乃至硬件仿 真,編譯出來的代碼也十分優秀。但是事物總是相對存在的,優點有時就意味著缺點。IAR 功能 全面而強悍,代價就是它的軟件界面比較復雜,設置選項多,網上的資料也比較少,最要命的是 這個軟件非常的貴,好吧你說你有破解版,但是破解文件一般并不通用,而且破解方法一般都稍 顯繁瑣。以上幾條,對于新接觸AVR 的人來說,幾乎是邁不過的坎。

    標簽: AVR

    上傳時間: 2013-10-15

    上傳用戶:weiwolkt

  • 基于AVR單片機在控制步進電機方面的應用

    摘要:介紹了AVR單片機在控制步進電機方面的應用,對系統的軟件和硬件設計做了說明。這是一個自動翻頁拍照的圖書錄入系統,該系統以ATmega32L為核心,通過ICCV7 for AVR和步進電機的細分驅動器對脈沖頻率進行設定,進而控制翻頁和拍照裝置的精確位置。和傳統的圖書錄入相比,系統具有可靠性高、實用性強、易于操作等特點。

    標簽: AVR 單片機 控制 步進電機

    上傳時間: 2013-11-17

    上傳用戶:digacha

  • The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field

    The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region first. (If you want a different corner, that should be a fairly simple tweak to the code, but for now you ll have to make that tweak yourself.) I have attempted to provide copious comments in the code and hope that a knowledgeable C programmer can quickly map the approach as described in the paper to what is in the program.

    標簽: two-dimensional computational polarization non-zero

    上傳時間: 2013-12-13

    上傳用戶:cylnpy

  • The tar file contains the following files: ptfsf.c: heart of the perfect TFSF code ptfsf.h: he

    The tar file contains the following files: ptfsf.c: heart of the perfect TFSF code ptfsf.h: header file for same ptfsf-demo.c: FDTD code which demonstrates use of perfect TFSF code. Essentially this program used to generate results shown in the paper ptfsf-file-maker.c: code to generate an incident-field file using the "perfect" incident fields ptfsf-demo-file.c: FDTD code which uses the perfect incident fields stored in a file fdtdgen.h: defines macros used in much of my code Makefile: simple make-file to compile programs Also include are some simple script files to run the programs with reasonable values. The code assumes a two-dimensional computational domain with TMz polarization (i.e., non-zero field Ez, Hx, and Hy). The program is currently written so that the incident field always strikes the lower-left corner of the total-field region first. (If you want a different corner, that should be a fairly simple tweak to the code, but for now you ll have to make that tweak yourself.)

    標簽: ptfsf following the contains

    上傳時間: 2013-11-28

    上傳用戶:風之驕子

  • 數字運算

    數字運算,判斷一個數是否接近素數 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

  • TIMER.ASM ********* [ milindhp@tifrvax.tifr.res.in ] Set Processor configuration word as = 000

    TIMER.ASM ********* [ milindhp@tifrvax.tifr.res.in ] Set Processor configuration word as = 0000 0000 1010 b. a] -MCLR tied to VDD (internally). b] Code protection off. c] WDT disabled. d] Internal RC oscillator [4 MHZ].

    標簽: configuration Processor milindhp tifrvax

    上傳時間: 2015-05-24

    上傳用戶:wqxstar

  • The government of a small but important country has decided that the alphabet needs to be streamline

    The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d . Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet. Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1. Definition

    標簽: government streamline important alphabet

    上傳時間: 2015-06-09

    上傳用戶:weixiao99

  • The Bayesian Committee Machine (BCM) is an approximation method for large-scale Gaussian process re

    The Bayesian Committee Machine (BCM) is an approximation method for large-scale Gaussian process regression. - The code is for Matlab Version 1.0, November 2005

    標簽: approximation large-scale Committee Bayesian

    上傳時間: 2015-09-14

    上傳用戶:caiiicc

主站蜘蛛池模板: 洮南市| 巴东县| 清徐县| 边坝县| 辛集市| 宜阳县| 铅山县| 清徐县| 宝清县| 庆元县| 夹江县| 尼勒克县| 西丰县| 馆陶县| 佛冈县| 漳平市| 西和县| 平安县| 晋中市| 榕江县| 扎囊县| 深泽县| 嘉定区| 武定县| 特克斯县| 平谷区| 康马县| 灵石县| 莱州市| 多伦县| 正定县| 错那县| 莎车县| 阳信县| 江陵县| 德化县| 苏尼特左旗| 崇礼县| 犍为县| 莒南县| 周宁县|