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

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

uCOS-<b>II</b>-V

  • 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單片機數碼管秒表顯示

    #include<iom16v.h> #include<macros.h> #define uint unsigned int #define uchar unsigned char uint a,b,c,d=0; void delay(c) { for for(a=0;a<c;a++) for(b=0;b<12;b++); }; uchar tab[]={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,

    標簽: AVR 單片機 數碼管

    上傳時間: 2013-10-21

    上傳用戶:13788529953

  • 題目:利用條件運算符的嵌套來完成此題:學習成績>=90分的同學用A表示

    題目:利用條件運算符的嵌套來完成此題:學習成績>=90分的同學用A表示,60-89分之間的用B表示,60分以下的用C表示。 1.程序分析:(a>b)?a:b這是條件運算符的基本例子。

    標簽: gt 90 運算符 嵌套

    上傳時間: 2015-01-08

    上傳用戶:lifangyuan12

  • RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key

    RSA算法 :首先, 找出三個數, p, q, r, 其中 p, q 是兩個相異的質數, r 是與 (p-1)(q-1) 互質的數...... p, q, r 這三個數便是 person_key,接著, 找出 m, 使得 r^m == 1 mod (p-1)(q-1)..... 這個 m 一定存在, 因為 r 與 (p-1)(q-1) 互質, 用輾轉相除法就可以得到了..... 再來, 計算 n = pq....... m, n 這兩個數便是 public_key ,編碼過程是, 若資料為 a, 將其看成是一個大整數, 假設 a < n.... 如果 a >= n 的話, 就將 a 表成 s 進位 (s

    標簽: person_key RSA 算法

    上傳時間: 2013-12-14

    上傳用戶:zhuyibin

  • 數字運算

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

  • 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

  • 電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動

    電力系統在臺穩定計算式電力系統不正常運行方式的一種計算。它的任務是已知電力系統某一正常運行狀態和受到某種擾動,計算電力系統所有發電機能否同步運行 1運行說明: 請輸入初始功率S0,形如a+bi 請輸入無限大系統母線電壓V0 請輸入系統等值電抗矩陣B 矩陣B有以下元素組成的行矩陣 1正常運行時的系統直軸等值電抗Xd 2故障運行時的系統直軸等值電抗X d 3故障切除后的系統直軸等值電抗 請輸入慣性時間常數Tj 請輸入時段數N 請輸入哪個時段發生故障Ni 請輸入每時段間隔的時間dt

    標簽: 電力系統 計算 運行

    上傳時間: 2015-06-13

    上傳用戶:it男一枚

  • tcp/ip協議棧源碼

    tcp/ip協議棧源碼,用于源碼開放的嵌入式實時操作系統uCOS-II。

    標簽: tcp ip 協議棧 源碼

    上傳時間: 2013-12-01

    上傳用戶:源碼3

  • 一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: -

    一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統,把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規則和上述規則形式(2)實現.設大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數據: B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應關系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |

    標簽: 語言 抽象

    上傳時間: 2014-12-02

    上傳用戶:jkhjkh1982

  • We have a group of N items (represented by integers from 1 to N), and we know that there is some tot

    We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.

    標簽: represented integers group items

    上傳時間: 2016-01-17

    上傳用戶:jeffery

亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美日韩一区二区三区| 午夜精品一区二区三区四区| 欧美精品1区2区| 国产精品乱码久久久久久| 在线观看视频欧美| 久久亚洲欧美| 国产主播精品在线| 欧美一区二区三区视频免费| 国产精品私拍pans大尺度在线 | 欧美亚洲一区在线| 欧美久久久久久蜜桃| 国产精品免费看| 国产精品乱码妇女bbbb| 亚洲一品av免费观看| 国产欧美va欧美va香蕉在| 欧美亚洲一区三区| 欧美日本簧片| 美女精品视频一区| 韩国精品在线观看| 老鸭窝亚洲一区二区三区| 亚洲欧美成人在线| 一区二区三区四区五区精品视频| 亚洲欧美日韩视频二区| 欧美日在线观看| 国自产拍偷拍福利精品免费一| 亚洲区一区二| 红桃视频亚洲| 国产精品v欧美精品v日本精品动漫| 精品福利av| 欧美成人午夜激情视频| 欧美在线免费观看视频| 欧美中文日韩| 久久精品一二三区| 亚洲精选一区| 91久久在线| 亚洲每日在线| 国产日韩一区二区| 老司机成人网| 国产精品欧美日韩一区| 欧美资源在线观看| 老牛嫩草一区二区三区日本| 国产亚洲精品久久久久动| 久久精品国产999大香线蕉| 尤物在线精品| 国产丝袜一区二区| 久久久久久久高潮| 亚洲激情校园春色| 欧美成人一品| 亚洲欧美日本伦理| 91久久夜色精品国产九色| 午夜国产精品视频免费体验区| 韩国成人福利片在线播放| 欧美日韩在线直播| 久久久久五月天| 亚洲视频精品| 亚洲国产成人精品久久久国产成人一区| 欧美日韩国产探花| 久久久久国产精品一区三寸| 一区二区三区日韩精品视频| 很黄很黄激情成人| 国产精品国内视频| 午夜亚洲性色视频| 一本色道88久久加勒比精品| 伊人影院久久| 国产一区二区欧美| 国产精品一二三四| 国产精品国产三级国产aⅴ浪潮| 欧美阿v一级看视频| 欧美亚洲一区在线| 国产精品99久久久久久久女警| 永久久久久久| 好看不卡的中文字幕| 国产精品稀缺呦系列在线| 欧美日韩妖精视频| 欧美经典一区二区三区| 久久婷婷人人澡人人喊人人爽| 亚洲欧美视频一区| 亚洲欧美一区二区在线观看| 9色porny自拍视频一区二区| 亚洲靠逼com| 日韩一区二区免费看| 亚洲乱码国产乱码精品精| 亚洲激情二区| 亚洲国产精品va在线看黑人动漫| 国内成人在线| 国产亚洲欧美日韩一区二区| 国产精品久久毛片a| 欧美大片免费久久精品三p| 久久久91精品国产一区二区三区 | 激情偷拍久久| 伊人久久噜噜噜躁狠狠躁| 久色成人在线| 久久久精品国产免大香伊| 欧美中文字幕在线| 欧美一区二区三区电影在线观看| 欧美一进一出视频| 欧美在线免费观看视频| 久久一区二区三区av| 欧美成人免费小视频| 国产精品腿扒开做爽爽爽挤奶网站 | 欧美专区福利在线| 国产精品久久久久一区二区| 在线午夜精品| 欧美在线关看| 欧美精品在线观看| 黄色日韩网站| 久久大综合网| 黄色av成人| 久久综合电影一区| 国产精品国产a级| 日韩视频亚洲视频| 国产精品高精视频免费| 91久久久国产精品| 欧美日韩在线视频首页| 一本色道久久加勒比88综合| 欧美精品久久久久a| 亚洲制服少妇| 国内揄拍国内精品少妇国语| 久久国产福利| 欧美永久精品| 揄拍成人国产精品视频| 亚洲精品色婷婷福利天堂| 好吊妞这里只有精品| 欧美一区影院| 国产一二三精品| 狠狠色狠狠色综合日日tαg| 亚洲国内高清视频| 国产精品美女久久久免费| 欧美女同在线视频| 欧美激情精品久久久久久大尺度| 国产精品观看| 亚洲国产欧美日韩精品| 性色av一区二区三区| 欧美久久久久中文字幕| 国产一区二区三区网站| 正在播放欧美视频| 国产欧美不卡| 亚洲淫性视频| 国产精品爽黄69| 一区二区免费在线观看| 欧美福利视频在线| 在线不卡中文字幕| 欧美在线精品免播放器视频| 国产精品三级久久久久久电影| 最新日韩中文字幕| 欧美日韩国产成人| 亚洲精品视频免费观看| 蜜桃av噜噜一区二区三区| 亚洲精品1234| 欧美激情精品久久久久久久变态| 亚洲精品久久视频| 欧美大色视频| 日韩午夜精品视频| 玖玖精品视频| 最新日韩av| 欧美精品999| 亚洲精品免费网站| 欧美激情偷拍| 宅男精品视频| 国产精品日韩在线一区| 中文一区二区在线观看| 国产精品久久久久9999| 亚洲一区二区在线免费观看| 国产精品久久久久久久午夜| 在线一区二区三区四区五区| 欧美午夜剧场| 校园春色国产精品| 国产亚洲精品7777| 噜噜噜噜噜久久久久久91| 亚洲第一精品福利| 免费观看久久久4p| 99在线热播精品免费99热| 国产精品xxxxx| 欧美一区二区三区日韩视频| 韩日精品视频一区| 欧美激情一区二区三级高清视频| 日韩午夜av在线| 国产精品久久久久久妇女6080| 亚洲一区自拍| 悠悠资源网亚洲青| 欧美日韩国产大片| 亚洲欧美中文在线视频| 国内精品久久久久国产盗摄免费观看完整版| 久久精品91久久久久久再现| 亚洲电影在线看| 国产精品国产三级欧美二区| 欧美一级久久| 亚洲韩国精品一区| 国产精品视频网站| 女生裸体视频一区二区三区| 中文精品在线| 亚洲成人资源网| 国产精品日韩欧美一区| 亚洲欧美日韩国产一区二区| 在线精品国产欧美| 国产农村妇女毛片精品久久麻豆| 免费在线观看成人av| 午夜日韩av| 一区二区三区黄色| 亚洲综合精品|