用状态机实现一序列检测器,即检测到串行码{1110010}后,检测器输出1,否则输出0;
上传时间: 2013-12-26
上传用户:asasasas
序列检测器可用于检测一组或多组二进制码组成的脉冲序列信号,这在数字通信领域中有广泛的应用。当序列检测器连续收到一组二进制码后,如果这组码与检测器中预先设置的码相同,则输出1,否则输出0。由于这种检测的关键在于正确码的收到必须是连续的,这就要求检测器必须记住前一次的正确码及正确序列,直到连续的检测中收到每一位都与预置数的对应码相同。在检测过程中,任何一位不相等都将回到初始状态重新开始检测。并附有测试程序
上传时间: 2014-01-14
上传用户:hoperingcong
系统使用JSP语言和HTML标记语言编写完成的。要想运行该程序,还要进行如下操作: (1) 安装JDK1.4.0或以上版本。 (2) 安装Apache Tomcat 4.0或以上版本。 (3) 配置ODBC数据源。 闻发布系统的源代码。新闻发布系统分为普通用户访问界面和管理员访问界面两部分。普通用户访问界面使用index.jsp页面进入,不需要用户名和密码;管理员访问用户界面使用login.jsp页面进入,管理员的用户名是:admin,密码是:admin。
上传时间: 2013-11-30
上传用户:hgy9473
FPGA实验:用于检测输入的二进制系列,连续输入4个0或1,输出1,否则输出0。用按键模拟开关输入
上传时间: 2013-12-01
上传用户:a6697238
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
汉诺塔!!! Simulate the movement of the Towers of Hanoi puzzle Bonus is possible for using animation eg. if n = 2 A→B A→C B→C if n = 3 A→C A→B C→B A→C B→A B→C A→C
标签: the animation Simulate movement
上传时间: 2017-02-11
上传用户:waizhang
使用JK触发器设计111序列检测器,当检测到输入为111时输出为1,否则为0
上传时间: 2017-02-28
上传用户:LIKE
一个跑马灯的程序,按1键顺序显示0-9,间隔为1,按2键顺序显示0-8,间隔为2。设置中断使时间间隔为1秒
上传时间: 2014-01-02
上传用户:dbs012280
:本设计采用集成芯片ICL7107作为数字电压表的A/D转换及锁存和译码模块,使得电路具有设计 简单、集成度及可靠性高的特点。该系统设计了自动切换量程功能,能够实现0~199mV、0-1.99V、0~19.99V、 0~199.9V、0~1999V,共5个量程电压值的测量。本系统做成了电路板,进行了测试,得到了良好的测试结果。
上传时间: 2017-04-13
上传用户:恋天使569
OTSU Gray-level image segmentation using Otsu s method. Iseg = OTSU(I,n) computes a segmented image (Iseg) containing n classes by means of Otsu s n-thresholding method (Otsu N, A Threshold Selection Method from Gray-Level Histograms, IEEE Trans. Syst. Man Cybern. 9:62-66 1979). Thresholds are computed to maximize a separability criterion of the resultant classes in gray levels. OTSU(I) is equivalent to OTSU(I,2). By default, n=2 and the corresponding Iseg is therefore a binary image. The pixel values for Iseg are [0 1] if n=2, [0 0.5 1] if n=3, [0 0.333 0.666 1] if n=4, ... [Iseg,sep] = OTSU(I,n) returns the value (sep) of the separability criterion within the range [0 1]. Zero is obtained only with images having less than n gray level, whereas one (optimal value) is obtained only with n-valued images.
标签: OTSU segmentation Gray-level segmented
上传时间: 2017-04-24
上传用户:yuzsu