Welcome![Sign In][Sign Up]
Location:
Search - 3h

Search list

[CSharp用c语言编写串口程序

Description: 用c语言编写串口程序 在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬 件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言 作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言 的方便。   在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和 状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以 及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个 问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位) 的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位) 进行如下简单的编码: 0H:发送的是新的半个字节数据 1H:重新发送上次传送错误的数据 2H:文件名结束 3H:文件结束 这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就 是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节 相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通 过信息位来区分。下面就是用C语言编写控制串行口的程序。 -Serial procedures in the preparation of today's popular programming software, and a large variety of their programming and easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead t
Platform: | Size: 6431 | Author: 王平 | Hits:

[Com PortUSBjiekou

Description: 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和 状态信息。这是因为通兜母鞲黾扑慊鶦PU速度不一样(这会导致“错帧”)以 及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个 问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位) 的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位) 进行如下简单的编码: 0H:发送的是新的半个字节数据 1H:重新发送上次传送错误的数据 2H:文件名结束 3H:文件结束 这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就 是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节 相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通 过信息位来区分。下面就是用C语言编写控制串行口的程序。-in communications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the conduct of the mother-pocket walls flutter contented tenancy PU the same speed (which would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead to "overshoot"). To address this problem, we have adopted a simple handshake signal that the transmitter to send only half of each byte (low 4), while the other half megabyte (four high) is used to transmit messages. The information we can place (four high), a simple code : OH : Send the new half-byte data 1H : last re-sending the wrong data transmission 2H : Name 3H end : the end of this document
Platform: | Size: 4948 | Author: 飞机 | Hits:

[Linux-Unixmcd-0[1].3h.tar

Description: mcdp 是一个的型的Linux下的CD播放器,提供了一个魔咒般的用户界面。它用dietlibc编译,支持最遥远/局部的cddb/freedb音轨数据。不同的播放方法和音量控制。-mcdp is one of the Linux-based CD players, providing a magic spell user interface. It used dietlibc compiler to support the most remote / local CDDB / FreeDB data tracks. Different players and volume control methods.
Platform: | Size: 22236 | Author: 陈凯 | Hits:

[Other resourceyejingxianshi000003

Description: 红外线遥控器解码程序(汇编) ORG 0000H AJMP MAIN ORG 0003H 外部中断INT0入口地址 AJMP INT 转中断服务子程序 MAIN: MOV SP,#40H MOV P1,#00H SETB EA 开CPU中断 SETB IT0 设定INT0触发方式 SETB EX0 INT0请求中断 DSP: MOV R2,#9 将遥控器键值转化成A(0~9) MOV DPTR,#TAB1 VV: MOV A,R2 MOVC A,@A+DPTR XRL A,1CH JZ ABC DJNZ R2,VV ABC: MOV A,R2 MOV DPTR,#TAB ;将A的值通过数码管显示出来 -infrared remote control decoder (Compendium) ORG 0000H AJMP MAIN ORG 000 3H external interrupt INT0 address AJMP INT entrance to a break in service subroutine MAIN : MOV SP, # 40H MOV P1, # 00H CPU SETB EA opening set interrupted SETB Indium-Tin-Oxide Substrates INT0 trigger mode SETB EX0 INT0 request interrupted DSP : MOV R2, # 9 will be the remote control keys into A (0 ~ 9) MOV DPTR, # TAB1 VV : MOV A, R2 MOVC A, @ A DPTR photolithography A, interruptive JZ ABC DJNZ R2, VV ABC : MOV A, R2 MOV DPTR, # TAB; A digital value through the tube show
Platform: | Size: 1340 | Author: ttforgo | Hits:

[WEB CodeLCD

Description: 《LCD显示》 程序清单: ************************************************************** PCL EQU 2H 定义程序存储器低字节地址 STATUS EQU 3H 定义状态寄存器地址 PORTA EQU 5H 定义RA口数据寄存器地址 PORTC EQU 7H 定义RC口数据寄存器地址 TRISA EQU 85H 定义RA口方向控制寄存器地址 TRISC EQU 87H 定义RC口方向控制寄存器地址 ADCON1 EQU 9FH 定义ADC模块控制寄存器1的地址 COUNTT EQU 23H 通用通用寄存器
Platform: | Size: 98901 | Author: sj | Hits:

[Other resource3H analysis

Description: 神经网络 MCP运算法-neural network algorithm
Platform: | Size: 27918 | Author: 秦川 | Hits:

[AI-NN-PR3H analysis

Description: 神经网络 MCP运算法-neural network algorithm
Platform: | Size: 27648 | Author: 秦川 | Hits:

[CSharp用c语言编写串口程序

Description: 用c语言编写串口程序 在当今,流行的编程软件种类繁多,它们编程方便、易于维护,但是在与硬 件直接打交道和编制系统软件时却束手无策,于是C语言就有了用武之地。C语言 作为汇编语言与高级语言之间的一种过渡语言,兼有汇编语言的高效和高级语言 的方便。   在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和 状态信息。这是因为通讯的各个计算机CPU速度不一样(这会导致“错帧”)以 及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个 问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位) 的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位) 进行如下简单的编码: 0H:发送的是新的半个字节数据 1H:重新发送上次传送错误的数据 2H:文件名结束 3H:文件结束 这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就 是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节 相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通 过信息位来区分。下面就是用C语言编写控制串行口的程序。 -Serial procedures in the preparation of today's popular programming software, and a large variety of their programming and easy to maintain, but to deal directly with the hardware and system software when compiled a loss, so there will be a C language battlefield. C language as the compilation and Advanced Language a transition between languages, both assembly language and the efficient high-level language convenience. In telecommunications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the various computer communications CPU speed is not the same (this would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead t
Platform: | Size: 6144 | Author: 王平 | Hits:

[Com PortUSBjiekou

Description: 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和 状态信息。这是因为通兜母鞲黾扑慊鶦PU速度不一样(这会导致“错帧”)以 及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个 问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位) 的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位) 进行如下简单的编码: 0H:发送的是新的半个字节数据 1H:重新发送上次传送错误的数据 2H:文件名结束 3H:文件结束 这样,每当发送机发送一个字节以后,就等待接受机发回送信号,这回送信号就 是发送机发送过来的那个字节。发送机接收到回送信号后,把它与刚发送的字节 相比较,如果相同,就发送新的半个字节,否则就重新发送。新数据与旧数据通 过信息位来区分。下面就是用C语言编写控制串行口的程序。-in communications, in order to ensure safe and reliable transport firms, the standard serial I must have shook hands with many signals and state information. This is because the conduct of the mother-pocket walls flutter contented tenancy PU the same speed (which would lead to "the wrong frame") and transmitter to send data faster than fast receiver to receive (this would lead to "overshoot"). To address this problem, we have adopted a simple handshake signal that the transmitter to send only half of each byte (low 4), while the other half megabyte (four high) is used to transmit messages. The information we can place (four high), a simple code : OH : Send the new half-byte data 1H : last re-sending the wrong data transmission 2H : Name 3H end : the end of this document
Platform: | Size: 5120 | Author: 飞机 | Hits:

[Linux-Unixmcd-0[1].3h.tar

Description: mcdp 是一个的型的Linux下的CD播放器,提供了一个魔咒般的用户界面。它用dietlibc编译,支持最遥远/局部的cddb/freedb音轨数据。不同的播放方法和音量控制。-mcdp is one of the Linux-based CD players, providing a magic spell user interface. It used dietlibc compiler to support the most remote/local CDDB/FreeDB data tracks. Different players and volume control methods.
Platform: | Size: 22528 | Author: 陈凯 | Hits:

[Other Embeded programyejingxianshi000003

Description: 红外线遥控器解码程序(汇编) ORG 0000H AJMP MAIN ORG 0003H 外部中断INT0入口地址 AJMP INT 转中断服务子程序 MAIN: MOV SP,#40H MOV P1,#00H SETB EA 开CPU中断 SETB IT0 设定INT0触发方式 SETB EX0 INT0请求中断 DSP: MOV R2,#9 将遥控器键值转化成A(0~9) MOV DPTR,#TAB1 VV: MOV A,R2 MOVC A,@A+DPTR XRL A,1CH JZ ABC DJNZ R2,VV ABC: MOV A,R2 MOV DPTR,#TAB ;将A的值通过数码管显示出来 -infrared remote control decoder (Compendium) ORG 0000H AJMP MAIN ORG 000 3H external interrupt INT0 address AJMP INT entrance to a break in service subroutine MAIN : MOV SP,# 40H MOV P1,# 00H CPU SETB EA opening set interrupted SETB Indium-Tin-Oxide Substrates INT0 trigger mode SETB EX0 INT0 request interrupted DSP : MOV R2,# 9 will be the remote control keys into A (0 ~ 9) MOV DPTR,# TAB1 VV : MOV A, R2 MOVC A, @ A DPTR photolithography A, interruptive JZ ABC DJNZ R2, VV ABC : MOV A, R2 MOV DPTR,# TAB; A digital value through the tube show
Platform: | Size: 1024 | Author: ttforgo | Hits:

[DocumentsLCD

Description: 《LCD显示》 程序清单: ************************************************************** PCL EQU 2H 定义程序存储器低字节地址 STATUS EQU 3H 定义状态寄存器地址 PORTA EQU 5H 定义RA口数据寄存器地址 PORTC EQU 7H 定义RC口数据寄存器地址 TRISA EQU 85H 定义RA口方向控制寄存器地址 TRISC EQU 87H 定义RC口方向控制寄存器地址 ADCON1 EQU 9FH 定义ADC模块控制寄存器1的地址 COUNTT EQU 23H 通用通用寄存器
Platform: | Size: 98304 | Author: sj | Hits:

[OtherVirtualKeyboard

Description: labview下的虚拟键盘操作,做界面的朋友可以参考一下-under the LabVIEW virtual keyboard operation, make the interface reference for Friend
Platform: | Size: 719872 | Author: | Hits:

[Graph programPasswareKit8.3H

Description: 一个photoshop的视频讲解,讲得很好,很细-photoshop
Platform: | Size: 7648256 | Author: meimei | Hits:

[VC/MFCevaanimater2.3H

Description: asefEWFwawdDCadcsfvC -AWSwecsfvwevcsXsdcav
Platform: | Size: 1201152 | Author: shmily | Hits:

[Disk ToolsPartition_structure

Description: 基本INT 13H读写磁盘扇区 一、读磁盘 MOV AX,0201H MOV BX,7C00H MOV CX,0001H MOV DX,0080H INT 13H INT 3H 二、写磁盘 MOV AX,0301H MOV BX,7C00H MOV CX,0001H MOV DX,0080H INT 13H INT 3H -Partition structure
Platform: | Size: 22528 | Author: 146 | Hits:

[Algorithmsample-data

Description: 从3h流量取样得到日流量,再选取其中的最大值。-Daily discharge from 3h flow sampling, and then select one of the maximum value.
Platform: | Size: 2733056 | Author: 李浩 | Hits:

[Other systemsD2JSP_XP2_2.3h

Description: Private XP Scripts 2.3h
Platform: | Size: 960512 | Author: whocares | Hits:

[Energy industry3h

Description: 传动装置6ra70 钢厂程序 需要的可以参考一下-6ra70 dnl
Platform: | Size: 1024 | Author: 王飞 | Hits:

[Finance-Stock software system8040

Description: mt4 ea 适用于1h 3h 1d的趋势自动交易-mt4 ea suitable for 1h 3h 1d trend Automated Trading
Platform: | Size: 1024 | Author: 李瑞 | Hits:
« 12 »

CodeBus www.codebus.net