摘 要: 本文件是C8051單片機(jī)DA測試實驗程序;使用外部22.1184MHz晶振. 功能:定義 A ~ F 為功能鍵。 按"A" 鍵,輸出250HZ的方波,按"B" 鍵,輸出250HZ的正弦波形,按"C" 鍵,輸出250HZ的三角波, 按"D" 鍵,輸出250HZ的鋸齒波。用示波器在J6(DAC0)觀測結(jié)果,使用串口觀測按鍵信息。
標(biāo)簽: 22.1184 C8051 MHz 單片機(jī)
上傳時間: 2014-01-17
上傳用戶:zxc23456789
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標(biāo)簽: Implemented following compile command
上傳時間: 2014-01-01
上傳用戶:lhc9102
BNB20 Finds the constrained minimum of a function of several possibly integer variables. % Usage: [errmsg,Z,X,t,c,fail] = % BNB20(fun,x0,xstatus,xlb,xub,A,B,Aeq,Beq,nonlcon,settings,options,P1,P2,...) % % BNB solves problems of the form: % Minimize F(x) subject to: xlb <= x0 <=xub % A*x <= B Aeq*x=Beq % C(x)<=0 Ceq(x)=0 % x(i) is continuous for xstatus(i)=0 % x(i) integer for xstatus(i)= 1 % x(i) fixed for xstatus(i)=2 %
標(biāo)簽: constrained variables function possibly
上傳時間: 2014-01-13
上傳用戶:youth25
C# BigInteger class. BigInteger.cs is a csharp program. It is the BIgInteger class. It has methods: abs() , FermatLittleTest(int confidence) ,gcd(BigInteger bi) , genCoPrime(int bits, Random rand) , genPseudoPrime(int bits, int confidence, Random rand) , genRandomBits(int bits, Random rand) , isProbablePrime(int confidence) , isProbablePrime() , Jacobi(BigInteger a, BigInteger b) , LucasSequence(BigInteger P, BigInteger Q, BigInteger k, BigInteger n) ,max(BigInteger bi) , min(BigInteger bi) , modInverse(BigInteger modulus) , RabinMillerTest(int confidence) ,
標(biāo)簽: BigInteger class BIgInteger program
上傳時間: 2013-12-23
上傳用戶:ynzfm
編寫目的 A.由于原先圖書管理采用的人工系統(tǒng),浪費(fèi)人力物力財力,圖書管理系統(tǒng)可以改善這種情況,只需幾臺電腦和幾個管理員老師就能輕松完成。 B.提高對新書入庫、借閱圖書以及學(xué)生信心管理的速度。 C.減少人力的投入的同時提高了信息處理的精度和準(zhǔn)確度,在輸入無誤的基礎(chǔ)上可保證數(shù)據(jù)的正確性。 D.改進(jìn)了管理服務(wù)的質(zhì)量,可由系統(tǒng)對入庫圖書進(jìn)行自動分類、歸類,學(xué)生信息整理、借閱情況登記入檔。 E.改進(jìn)人員的利用率,減少了前臺操作人員,更多的人員可用于為借閱者服務(wù)、更新采購圖書等其他事物,節(jié)省人力資源。
上傳時間: 2015-10-14
上傳用戶:cxl274287265
acm HDOJ 1051WoodenSticks Description: There is a pile of n wooden sticks. The length and weight of each stick are known in advance. The sticks are to be processed by a woodworking machine in one by one fashion. It needs some time, called setup time, for the machine to prepare processing a stick. The setup times are associated with cleaning operations and changing tools and shapes in the machine. The setup times of the woodworking machine are given as follows: (a) The setup time for the first wooden stick is 1 minute. (b) Right after processing a stick of length l and weight w , the machine will need no setup time for a stick of length l and weight w if l<=l and w<=w . Otherwise, it will need 1 minute for setup.
標(biāo)簽: WoodenSticks Description length wooden
上傳時間: 2014-03-08
上傳用戶:netwolf
小型公司工資管理系統(tǒng)設(shè)計 設(shè)計說明與要求: 1、公司主要有4類人員:經(jīng)理、技術(shù)員、銷售員、銷售經(jīng)理。要求存儲這些人的職工號、姓名、月工資、崗位、年齡、性別等信息。 2、工資的計算方法: A、經(jīng)理:固定月薪為8000; B、技術(shù)員:工作時間*小時工資(100元每小時); C、銷售員:銷售額*4%提成; D、銷售經(jīng)理:底薪(5000)+所轄部門銷售額總額*0.5%
標(biāo)簽: 銷售 管理系統(tǒng) 存儲 計算方法
上傳時間: 2015-10-25
上傳用戶:cc1015285075
交通信號燈的控制: 1. 通過8255A并口來控制LED發(fā)光二極管的亮滅。 2. A口控制紅燈,B口控制黃燈,C口控制綠燈。 3. 輸出為0則亮,輸出為1則滅。 4. 用8253定時來控制變換時間 。 要求:設(shè)有一個十字路口,1、3為南,北方向,2、4為東西方向,初始態(tài)為4個路口的紅燈全亮。之后,1、3路口的綠燈亮,2、4路口的紅燈亮,1、3路口方向通車。延遲30秒后,1、3路口的綠燈熄滅,而1,3路口的黃燈開始閃爍(1HZ)。閃爍5次后,1、3路口的紅燈亮,同時2、4路口的綠燈亮,2、4路口方向開始通車。延遲30秒時間后,2、4路口的綠燈熄滅,而黃燈開始閃爍。閃爍5次后,再切換到1、3路口方向。之后,重復(fù)上述過程。
上傳時間: 2014-01-03
上傳用戶:zhouli
php開發(fā)的行業(yè)搜索系統(tǒng)!!! 2. 安裝 ------------ a. 解壓程序rar文件,用二進(jìn)制方式上傳到你的網(wǎng)站的根目錄或某一目錄下 注意:一定要將ftp上傳工具設(shè)置為二進(jìn)制方式,再上傳程序文件 b. unix或linux服務(wù)器下, 將以下文件屬性改為:666 (或777) - function/base_info.php - function/emphasis_info.php - function/admin_pass_info.php - function/search_info.php - function/userfield_info.php - template/default/目錄下的所有html文件 c. unix或linux服務(wù)器下, 將upfile/目錄屬性改為:777 d. 建立一個mysql數(shù)據(jù)庫,并記下用戶名和密碼,以便安裝時使用 e. 進(jìn)入安裝目錄http://www.your_website.com/install/, 自動運(yùn)行安裝程序 f. 安裝完成后,要求刪除安裝目錄install/及其下文件 g. 后臺管理目錄http://www.your_website.com/adiministrator/ h. 可修改adiministrator/目錄為你希望的獨(dú)特的名字
上傳時間: 2014-11-29
上傳用戶:小草123
鍵盤任意輸入一個稀疏矩陣A(m*n),采用三元組存儲方法求其轉(zhuǎn)置矩陣B(n*m),并用快速轉(zhuǎn)置算法實現(xiàn)該操作。
上傳時間: 2013-12-08
上傳用戶:lingzhichao
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1