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

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:

[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 resourcedanpianji-zhongli

Description: 用光电耦合器测量出重物下降过程中经过任何等距离且在同一垂直线上的三点时间间隔t1,t2,及距离h,然后利用公式g=2h(t1-t2)/t1t2(t1+t2)使用浮点数运算方法计算出g的值。最后由单片机p3口送串行显示。
Platform: | Size: 4853 | Author: 张品 | Hits:

[Other resourceA_Matlab_Tour_of_Wavelet_Programming

Description: This document is intended to serve as an introduction to Wavelet processing through a set of Matlab experiments. These experiments will gives an overview of three fundamental tasks in signal and image processing : signal, denoising and compression. These scripts are selfs contents (needed additional Matlab functions can be downloaded while reading the lectures). Each one of these five lectures should take between 1h and 2h in order to tests the various features of the scripts. One should copy/paste the provided code into a file names e.g. tp1.m, and launch the script directly from Matlab comand line > tp1 . Some of the scripts contains \"holes\" that you should try to fill on your own. I also provide the complete correction of these lectures as a set of Matlab scripts, but you should try as much as possible to avoid using them.
Platform: | Size: 6065881 | Author: 风帆 | Hits:

[Compress-Decompress algrithmsH264_Player

Description: H264_Player(非源码)-H264_Player
Platform: | Size: 265216 | 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:

[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:

[SCMdanpianji-zhongli

Description: 用光电耦合器测量出重物下降过程中经过任何等距离且在同一垂直线上的三点时间间隔t1,t2,及距离h,然后利用公式g=2h(t1-t2)/t1t2(t1+t2)使用浮点数运算方法计算出g的值。最后由单片机p3口送串行显示。-Optocoupler used to measure the process of heavy decline any equidistant and at the same vertical line of three time intervals t1, t2, and the distance h, and then use the formula g = 2h (t1-t2)/t1t2 (t12B ! t2) the use of floating-point method to calculate the value of g. Finally, I sent Singlechip p3 serial display.
Platform: | Size: 5120 | Author: 张品 | Hits:

[matlabA_Matlab_Tour_of_Wavelet_Programming

Description: This document is intended to serve as an introduction to Wavelet processing through a set of Matlab experiments. These experiments will gives an overview of three fundamental tasks in signal and image processing : signal, denoising and compression. These scripts are selfs contents (needed additional Matlab functions can be downloaded while reading the lectures). Each one of these five lectures should take between 1h and 2h in order to tests the various features of the scripts. One should copy/paste the provided code into a file names e.g. tp1.m, and launch the script directly from Matlab comand line > tp1 . Some of the scripts contains "holes" that you should try to fill on your own. I also provide the complete correction of these lectures as a set of Matlab scripts, but you should try as much as possible to avoid using them. -This document is intended to serve as an introduction to Wavelet processing through a set of Matlab experiments. These experiments will gives an overview of three fundamental tasks in signal and image processing: signal, denoising and compression. These scripts are selfs contents (needed additional Matlab functions can be downloaded while reading the lectures). Each one of these five lectures should take between 1h and 2h in order to tests the various features of the scripts. One should copy/paste the provided code into a file names eg tp1.m, and launch the script directly from Matlab comand line> tp1. Some of the scripts contains holes that you should try to fill on your own.I also provide the complete correction of these lectures as a set of Matlab scripts, but you should try as much as possible to avoid using them.
Platform: | Size: 6066176 | Author: 风帆 | Hits:

[AI-NN-PRHeapsortCodes

Description: Heapsort 1.A heap is a binary tree satisfying the followingconditions: -This tree is completely balanced. -If the height of this binary tree is h, then leaves can be at level h or level h-1. -All leaves at level h are as far to the left as possible. -The data associated with all descendants of a node are smaller than the datum associated with this node. Implementation 1.using a linear array not a binary tree. -The sons of A(h) are A(2h) and A(2h+1). 2.time complexity: O(n log n)
Platform: | Size: 196608 | Author: 黃文岩 | Hits:

[SCMCC1110-CSMA

Description: CC1110无线收发CSMA的源程序。使用的开发环境是IAR7.2H-CC1110 wireless transceiver of the source CSMA. The use of development environment are IAR7.2H
Platform: | Size: 208896 | Author: xulingfei | Hits:

[SCMCC1110-FDMA

Description: CC1110无线收发FDMA的源程序。使用的开发环境是IAR7.2H-FDMA wireless transceiver CC1110 source. The use of development environment are IAR7.2H
Platform: | Size: 163840 | Author: xulingfei | Hits:

[SCMCC1110-FHSS

Description: CC1110无线收发FHSS的源程序。使用的开发环境是IAR7.2H-FHSS wireless transceiver CC1110 source. The use of development environment are IAR7.2H
Platform: | Size: 161792 | Author: xulingfei | Hits:

[SCMCC1110-TDMA

Description: CC1110无线收发TDMA的源程序。使用的开发环境是IAR7.2H-TDMA wireless transceiver CC1110 source. The use of development environment are IAR7.2H
Platform: | Size: 209920 | Author: xulingfei | Hits:

[assembly languageX5045readanderite

Description: X5045读写演示程序 先用字节写入: 写入11H到地址55H (字节写入) 读取55H的数据送给8个灯显示 再用页方式写入: 页写入22H/33H/44H到地址1F0/1/2H 连续读取地址1F0/1/2H的数据送给8个灯显示 最后将8个灯关闭-wu
Platform: | Size: 33792 | Author: 唐朝辉 | Hits:

[TAPIJSR172demo

Description: JSR172 is MIDlet written by WTK
Platform: | Size: 11264 | Author: seawall | Hits:

[OtherVirtualPC_v5.2H

Description: 相装几个系统就装几个系统无需注册,非常 实用的虚拟机VirtualPC_v5.2H-Compared several systems installed on several systems installed without registration, very useful virtual machine VirtualPC_v5.2H
Platform: | Size: 11131904 | Author: JBanlefe | Hits:

[Embeded-SCM DevelopSGX-12864-2H技术资料

Description: SGX-12864-2H技术资料 FC12864-2H 是一种具有 4 位/8 位并行、2 线或 3 线串行多种接口方式,内部含有国标一 级、二级简体中文字库的点阵图形液晶显示模块;其显示分辨率为 128×64, 内置 8192 个 16*16 点汉字,和 128 个 16*8 点 ASCII 字符集.利用该模块灵活的接口方式和简单、方便的 操作指令, 可构成全中文人机交互图形界面。 可以显示 8×4 行 16×16 点阵的汉字. 也可完 成图形显示.低电压低功耗是其又一显著特点。由该模块构成的液晶显示方案与同类型的图 形点阵液晶显示模块相比, 不论硬件电路结构或显示程序都要简洁得多, 且该模块的价格也 略低于相同点阵的图形液晶模块。 基本特性: 低电源电压(VDD:+3.0--+5.5V) 显示分辨率:128×64 点 内置汉字字库,提供 8192 个 16×16 点阵汉字(简繁体可选) 内置 128 个 16×8 点阵字符 2MHZ 时钟频率 显示方式:STN、半透、正显 驱动方式:1/32DUTY,1/5BIAS 视角方向:6 点 背光方式:侧部高亮白色 LED,功耗仅为普通 LED 的 1/5—1/10 通讯方式:串行、并口可选 内置 DC-DC 转换电路,无需外加负压 无需片选信号,简化软件设计 工作温度: 0℃ - +55℃ ,存储温度: -20℃ - +60℃(SGX-12864-2H technical information)
Platform: | Size: 1684480 | Author: zhangxyucrazy | Hits:
« 12 »

CodeBus www.codebus.net