摘 要: 本文件是C8051单片机DA测试实验程序;使用外部22.1184MHz晶振. 功能:定义 A ~ F 为功能键。 按"A" 键,输出250HZ的方波,按"B" 键,输出250HZ的正弦波形,按"C" 键,输出250HZ的三角波, 按"D" 键,输出250HZ的锯齿波。用示波器在J6(DAC0)观测结果,使用串口观测按键信息。
上传时间: 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.
标签: 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 %
标签: 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) ,
标签: BigInteger class BIgInteger program
上传时间: 2013-12-23
上传用户:ynzfm
编写目的 A.由于原先图书管理采用的人工系统,浪费人力物力财力,图书管理系统可以改善这种情况,只需几台电脑和几个管理员老师就能轻松完成。 B.提高对新书入库、借阅图书以及学生信心管理的速度。 C.减少人力的投入的同时提高了信息处理的精度和准确度,在输入无误的基础上可保证数据的正确性。 D.改进了管理服务的质量,可由系统对入库图书进行自动分类、归类,学生信息整理、借阅情况登记入档。 E.改进人员的利用率,减少了前台操作人员,更多的人员可用于为借阅者服务、更新采购图书等其他事物,节省人力资源。
上传时间: 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.
标签: WoodenSticks Description length wooden
上传时间: 2014-03-08
上传用户:netwolf
小型公司工资管理系统设计 设计说明与要求: 1、公司主要有4类人员:经理、技术员、销售员、销售经理。要求存储这些人的职工号、姓名、月工资、岗位、年龄、性别等信息。 2、工资的计算方法: A、经理:固定月薪为8000; B、技术员:工作时间*小时工资(100元每小时); C、销售员:销售额*4%提成; D、销售经理:底薪(5000)+所辖部门销售额总额*0.5%
上传时间: 2015-10-25
上传用户:cc1015285075
交通信号灯的控制: 1. 通过8255A并口来控制LED发光二极管的亮灭。 2. A口控制红灯,B口控制黄灯,C口控制绿灯。 3. 输出为0则亮,输出为1则灭。 4. 用8253定时来控制变换时间 。 要求:设有一个十字路口,1、3为南,北方向,2、4为东西方向,初始态为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路口方向。之后,重复上述过程。
上传时间: 2014-01-03
上传用户:zhouli
php开发的行业搜索系统!!! 2. 安装 ------------ a. 解压程序rar文件,用二进制方式上传到你的网站的根目录或某一目录下 注意:一定要将ftp上传工具设置为二进制方式,再上传程序文件 b. unix或linux服务器下, 将以下文件属性改为: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服务器下, 将upfile/目录属性改为:777 d. 建立一个mysql数据库,并记下用户名和密码,以便安装时使用 e. 进入安装目录http://www.your_website.com/install/, 自动运行安装程序 f. 安装完成后,要求删除安装目录install/及其下文件 g. 后台管理目录http://www.your_website.com/adiministrator/ h. 可修改adiministrator/目录为你希望的独特的名字
上传时间: 2014-11-29
上传用户:小草123
键盘任意输入一个稀疏矩阵A(m*n),采用三元组存储方法求其转置矩阵B(n*m),并用快速转置算法实现该操作。
上传时间: 2013-12-08
上传用户:lingzhichao