procedure senddata var i:integer commflg : Boolean begin commflg:=true for i:=1 to 8 do begin if not fcomm comml writecommdata(sendbutter,i) then begin Commflg=false break end end end (4) 接收数据 在编写基于串口的计算机工业测控时,通常需要由下位机向PC机发送数据以使PC机了解系统的测试数据或下位机的运行状态,并进而控制下位机的行为。利用Spcomm串口控件接收下位机发送的数据信息的示例代码如下: //事件驱动方式接收数据程序 procedure TForm1.CommlReceiveData(Sender:Tobject Buffer:Pointer bufferLength:Word) var receivedata:array of byte begin sleep(100) //等待100ms,保证接收到所有数据 move(buffef ,receivedata,bufferlength) //将接收缓存区中的数据转移到数组中 …… end (5) 关闭串口 在系统开发中,应注意在不使用串口时应及时关闭串口,释放系统资源,否则可能会影响系统的其它应用。关闭串口的代码如下: procedure TForm1.FormClose ( Sender TObj ect:var Action:TCIoseAction ) begin comml.StopComm end
资源简介:procedure senddata var i:integer commflg : Boolean begin commflg:=true for i:=1 to 8 do begin if not fcomm comml writecommdata(sendbutter,i) then begin commflg=false break end end end (4) ...
上传时间: 2014-01-26
上传用户:懒龙1988
资源简介:He was the first one (I noticed of) who coded a decrypter for yC 1.2 :)...good job. Also if it hasn t full support yet >:-) So as I promised...here s the source code. I hope it helps someone.
上传时间: 2015-05-03
上传用户:498732662
资源简介:XAPP520将符合2.5V和3.3V I/O标准的7系列FPGA高性能I/O Bank进行连接 The I/Os in Xilinx® 7 series FPGAs are classified as either high range (HR) or high performance (HP) banks. HR I/O banks can be operated from 1.2V to 3.3V, whereas HP I/O...
上传时间: 2013-11-19
上传用户:yyyyyyyyyy
资源简介:XAPP520将符合2.5V和3.3V I/O标准的7系列FPGA高性能I/O Bank进行连接 The I/Os in Xilinx® 7 series FPGAs are classified as either high range (HR) or high performance (HP) banks. HR I/O banks can be operated from 1.2V to 3.3V, whereas HP I/O...
上传时间: 2013-11-06
上传用户:wentianyou
资源简介:每对节点间最短路径 Floyd-Warshall 算法 D[i,j]表示从i到j的最短距离; P[i,j]表示从i到j的最短路径上j 的父节点
上传时间: 2013-11-29
上传用户:来茴
资源简介:good morning,my dear teachers,my dear professors.i am very glad to be here for your interview.my name is song yonghao,i am 22 years old .i come from luoyang,a very beautiful aicent city.my undergratuade period will be accomplished in changa...
上传时间: 2015-05-24
上传用户:shus521
资源简介:74hc_hct595是嵌入式开发中,芯片i/o口不够用时,常用的扩展i/o口的所选芯片
上传时间: 2015-09-15
上传用户:shus521
资源简介:程序最优存储问题 « 问题描述: 设有n 个程序{1,2,…, n }要存放在长度为L的磁带上。程序i存放在磁带上的长度是i l ,
上传时间: 2015-09-26
上传用户:xg262122
资源简介:分析for i=E step E until E do i=E
上传时间: 2013-12-03
上传用户:GHF
资源简介:I/O Buffer Information Specification (IBIS) models for the AT91M40800 and the AT91F40816
上传时间: 2016-01-03
上传用户:zjf3110
资源简介:I/O Buffer Information Specification (IBIS) models for AT91SAM7SE512/256 in LQFP package with VDDIO at 1.8V.
上传时间: 2014-01-01
上传用户:shinesyh
资源简介:NorFlash bootloader(SPANSION_S71WS256ND0) for I.MX27(freescale).
上传时间: 2013-12-20
上传用户:zyt
资源简介:Nand Flash (SAMSUNG_K9K1G08U0B) boot loader for i.Mx31 (freescale).
上传时间: 2013-12-24
上传用户:源弋弋
资源简介:A example for I/O of USB interface in AVR single chip.
上传时间: 2014-01-26
上传用户:h886166
资源简介:Status CreateSMatrix(RLSMatrix &M) { // 创建稀疏矩阵M int i Triple T Status k printf("请输入矩阵的行数,列数,非零元素数:") scanf("%d,%d,%d",&M.mu,&M.nu,&M.tu) M.data[0].i=0 // 为以下比较做准备 for(i=1 i<=M.tu i++) ...
上传时间: 2013-12-22
上传用户:shanml
资源简介:I/O Buffer Information Specification (IBIS) models for AT91SAM7X and AT91SAM7XC products.
上传时间: 2016-04-03
上传用户:米卡
资源简介:i think that is a good study for us,i hope we like it.thank you
上传时间: 2013-12-21
上传用户:hn891122
资源简介:This book code procedure according to the chapter arrangement, the 1st chapter of example under "1" the table of contents, the 2nd chapter of example under "2" the table of contents, to the order analogizes. Under corresponding table of ...
上传时间: 2014-11-01
上传用户:希酱大魔王
资源简介:I/O Buffer Information Specification (IBIS) models for AT91SAM7SE512/256 in LQFP pacakge with VDDIO at 3.3V.
上传时间: 2013-12-24
上传用户:zhyiroy
资源简介:求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end ...
上传时间: 2014-01-15
上传用户:hongmo
资源简介:求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end ...
上传时间: 2013-12-26
上传用户:dreamboy36
资源简介:求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end ...
上传时间: 2016-06-28
上传用户:change0329
资源简介:求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=t+x(i,j)*x(i,j) end ...
上传时间: 2014-09-03
上传用户:jjj0202
资源简介:单片机原理及应用 第1章单片机应用系统概述M、CS—51单片机的硬件结构 第4章单片机程序设计 常用I/O芯片接口技术及简单的I/O接口扩展
上传时间: 2014-12-21
上传用户:bibirnovis
资源简介:printf(" 请输入%d个课程的代表值(<%d个字符):\n" ,(*G).vexnum,MAX_NAME) for(i=0 i<(*G).vexnum ++i) /* 构造顶点向量 */ { scanf(" %s" ,(*G).vertices[i].data) (*G).vertices[i].firstarc=NULL } printf(" 请输入...
上传时间: 2016-08-15
上传用户:Avoid98
资源简介:because I can not get the download rights, so I uoload this file.This is a wash program, include a caculation of prograss for me,
上传时间: 2014-01-07
上传用户:懒龙1988
资源简介:Good morning, dear teachers. I am very glad to be here for your interview. my name is xx.I am 21 years old. I come from Dafang, a small town of Guizhou province. My undergraduate period will be accomplished in East China Jiaotong University...
上传时间: 2014-01-11
上传用户:钓鳌牧马
资源简介:if you want to it you can download and i m a student,this is a paper,I m wish it can help you.
上传时间: 2014-01-16
上传用户:气温达上千万的
资源简介:void Knight(int i , int j) { // printf("%d %dn",i,j) if (board[i][j] != 0 || i < 0 || i >= Size || j < 0 || j >= Size ) { return } step++ board[i][j]=step if (step == Size*Size) { showboard() system("PAUSE") return ...
上传时间: 2014-01-17
上传用户:cxl274287265
资源简介:QNX ADS BSP code for i.MX27 chips
上传时间: 2017-01-26
上传用户:wangchong