1. 输入caculator,程序开始执行,继续输入3*4+5,回车后输出17,继续下一个计算或Ctrl+C退出。 2. 输入caculator 3*4+5,程序执行输出结果17。 3. 输入caculator 3*4+5 33,程序执行输出结果error: too many arguments。
上传时间: 2014-01-22
上传用户:weiwolkt
MAX1142是一款高性能的模入芯片,采集范围14-bit,支持SPI接口。 提供内部时钟和外部时钟采集方式。
上传时间: 2016-12-31
上传用户:1101055045
数值计算牛顿迭代法的matlab源程序 说明如下: %fun----input,the part as the form of f(x) in the equation f(x)=0 % ini----input,sets the starting point to ini % err----input,sets admissible error % sol----output,returns the root of equation
上传时间: 2014-01-12
上传用户:妄想演绎师
Perl and XML XML is a text-based markup language that has taken the programming world by storm. More powerful than HTML yet less demanding than SGML, XML has proven itself to be flexible and resilient. XML is the perfect tool for formatting documents with even the smallest bit of complexity, from Web pages to legal contracts to books. However, XML has also proven itself to be indispensable for organizing and conveying other sorts of data as well, thus its central role in web services like SOAP and XML-RPC. As the Perl programming language was tailor-
标签: programming text-based XML language
上传时间: 2014-01-07
上传用户:jichenxi0730
8单径瑞利信道中的四发四收V-BLAST: (1) 请设计一种具体的导引辅助的信道估计方法,用Simulink进行仿真,测量16QPSK调制时的误码率性能。画出比特信噪比与信道估计均方误差的关系曲线,画出比特信噪比与误码率的关系曲线。 (2) 计算所设计方案的频谱效率是多少,单位为bit/Hz/s。
上传时间: 2017-01-25
上传用户:ainimao
62256在单片机上的应用,C语言源码,Keil uVision3工程文件,附原理图及说明学习文档 62256简介: 62系列是最常用的单片机系统扩展RAM元器件,其类型有6216、6232、6264、62128、62256或62512等多种,62后面的数字表示此元器件中可以存储的位(单位:千bit),我们通常的说法是将此值除以8,比如62256将256除以8,我们一般称之为32K的RAM。 如果学习过二进制就可以知道,区分两个字节需要一根地址线就可以:0或者1;而区分四个字节需要2根地址线;区分八个字节需要三根地址线…..以此类推,我们可以计算出要区分32K的RAM区,需要15根地址线,也就是器件上面的A0-A14管脚用于确定唯一的一个字节内容。 我们现在学习的51单片机是8位的,所以必须用两个IO口来联接这个RAM器件,通常我们用P0(低字节)和P2(高字节)两个端口来确定此器件的地址,而P0口是51单片机标准的总线口,是地址线和数据线复用的,所以与62256联接时需要加一片锁存器来锁存地址。即先将地址送到锁存器(通常用74HC373)中,然后P0口空闲下来后开始接收或发送数据至62256。
上传时间: 2017-01-27
上传用户:asdkin
PC与单片机双向通讯智能温控程序 #include <AT89X51.H> #include <intrins.h> #define Key_UP P1_0 #define Key_DOWN P1_1 #define Key_SET P1_2 #define RelayOutPort P2_0 #define LEDPort P0 #define DELPort P2_1 #define LEDTwoC P3_6 #define LEDThreeC P3_7 #define TMPort P2_7 #define INBUF_LEN 5 //数据长度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 , 0 } //发送缓冲区 unsigned char inbuf2[50] //接收缓冲区 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr TMOD |= 0x20 //TMOD: timer 1, mode 2, 8-bit reload PCON |= 0x80 //SMOD=1 TH1 = 0xFA //Baud:4800 fosc=11.0592MHz IE |= 0x90 //Enable Serial Interrupt TR1 = 1 // timer 1 run } //向串口发送一个字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
标签: include intrins define Key_UP
上传时间: 2014-11-29
上传用户:风之骄子
VB遥控播放器红外遥控解码 #include <regX52.h> #define c(x) (x*110592/120000) sbit Ir_Pin=P3^2 sbit beep=P2^1 //sbit RELAY=P2^0 #define INBUF_LEN 4 //数据长度 unsigned char inbuf1[INBUF_LEN]={ 0 , 0 , 0 , 0 } //发送缓冲区 unsigned char inbuf2[50] //接收缓冲区 unsigned char count3 void init_serialcomm( void ) { SCON = 0x50 //SCON: serail mode 1, 8-bit UART, enable ucvr T2CON=0x30 TH2=0x00 TL2=0x00 RCAP2H=0xFF RCAP2L=0xDC TR2=1 } //向串口发送一个字符 void send_char_com( unsigned char ch) { SBUF=ch while (TI== 0 ) TI= 0
标签: include 110592 120000 define
上传时间: 2013-12-21
上传用户:yph853211
This paper studies the problem of tracking a ballistic object in the reentry phase by processing radar measurements. A suitable (highly nonlinear) model of target motion is developed and the theoretical Cramer—Rao lower bounds (CRLB) of estimation error are derived. The estimation performance (error mean and
标签: processing ballistic the tracking
上传时间: 2014-10-31
上传用户:yyyyyyyyyy
This paper studies the problem of tracking a ballistic object in the reentry phase by processing radar measurements. A suitable (highly nonlinear) model of target motion is developed and the theoretical Cramer—Rao lower bounds (CRLB) of estimation error are derived. The estimation performance (error mean and
标签: processing ballistic the tracking
上传时间: 2014-01-14
上传用户:奇奇奔奔