Location:
Search - 1h
Search list
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:
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:
Description: 本站提供的各类软件,仅提供一个观摩学习的环境,本站不承担任何技术及版权问题,且不对任何资源负法律责任。
所有资源请在下载后24小时内删除。如果您觉得满意,请购买正版-site with a range of software, only to watch for a learning environment, site not assume any technical and copyright issues, without any resources to bear legal responsibility. All resources please download within 24 hours after the deletion. If you feel satisfied, the purchase of legitimate
Platform: |
Size: 838328 |
Author: 猪一样的 |
Hits:
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:
Description: 硬件手册,比较实用--Hardware manual.
Platform: |
Size: 621568 |
Author: 梁福田 |
Hits:
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:
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:
Description: 本站提供的各类软件,仅提供一个观摩学习的环境,本站不承担任何技术及版权问题,且不对任何资源负法律责任。
所有资源请在下载后24小时内删除。如果您觉得满意,请购买正版-site with a range of software, only to watch for a learning environment, site not assume any technical and copyright issues, without any resources to bear legal responsibility. All resources please download within 24 hours after the deletion. If you feel satisfied, the purchase of legitimate
Platform: |
Size: 837632 |
Author: 猪一样的 |
Hits:
Description: The EM algorithm is short for Expectation-Maximization algorithm. It is based on an iterative optimization of the centers and widths of the kernels. The aim is to optimize the likelihood that the given data points are generated by a mixture of Gaussians. The numbers next to the Gaussians give the relative importance (amplitude) of each component.-The EM algorithm is short for Expectation- Maximization algorithm. It is based on an ITERA tive optimization of the centers and widths of t he kernels. The aim is to optimize the likelihoo d that the given data points are generated by a mi xture of Gaussians. The numbers next to the Gaus sians give the relative importance (amplitude ) of each component.
Platform: |
Size: 15360 |
Author: 陈伟 |
Hits:
Description: 许多关于WINDOWS图形图像编程的源码-many images on the Windows graphics programming source
Platform: |
Size: 14918656 |
Author: 蓝云杨 |
Hits:
Description: jeted 组织的DDR2 RAM 文档,希望对你有所帮助-jeted organizations document DDR2 RAM, and they hope to help you
Platform: |
Size: 2774016 |
Author: feng |
Hits:
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:
Description: 高通BREW平台MMI开发教程,想入门做CDMA或WCDMA的必备-Qualcomm s BREW platform for MMI development tutorial, I would like to do entry-CDMA or WCDMA essential
Platform: |
Size: 360448 |
Author: 一帆 |
Hits:
Description: JFreeChart-1.0-12 官方示例的源码,相当有用-JFreeChart-1.0-12 official sample of the source, very useful
Platform: |
Size: 555008 |
Author: 阿杜 |
Hits:
Description: (1)频率测试功能:测频范围0.1H~200H。
测试精度:恒为百万分之一。
(2)脉宽测试功能:范围0.1us~1s,精度0.01us。
(3)占空比测试功能。-(1) the frequency of test functions: the scope of testing frequency 0.1H ~ 200H. Test accuracy: Constant for the parts per million. (2) pulse-width test functions: the scope of 0.1us ~ 1s, the accuracy of 0.01us. (3) duty cycle testing.
Platform: |
Size: 199680 |
Author: zhouhongxi |
Hits:
Description: 上柴发动机电控系统通讯协议下载[1].part1-On the diesel engine electronic control system communication protocol to download [1]. Part1
Platform: |
Size: 929792 |
Author: 宋海 |
Hits:
Description: 使用TC0C与FP00中断测量温度,----获得成功!数码管在主程序显示,没有抖动!2 个端口独立上下限控制输出.芯片: SN8P1602B-SOP18脚,电容器104,传感器50K,标准电阻4K7.50格分度
两路控制说明:均为:温度<下限值控制=高电平.温度≥上限值控制=低电平.两路控制各使用自己的上下限来控制.设置上下限分别闪烁显示0H,0L,1H,1L.这是一个很成功的温控程序,仅仅1K空间做出来 4 个上下限值的控制.
校验和:1E09,使用空间908剩余空间115 47K+4.7K+104 配置.50KET传感器,FP00测量
2 路上下限控制.-FP00 interrupted TC0C with the use of temperature measuring success ,----! Digital tube display in the main program, there is no jitter! Two independent upper and lower limits of the port control output. Chipset: SN8P1602B-SOP18-pin, capacitor 104, the sensor 50K, Standard Resistor 4K7 .50 degree grid control two-way Description: are: temperature < the lower limit control = high. ≥ upper limit of temperature control = low. two-way control the use of their own to control the upper and lower limits. scintillation set upper and lower limits, respectively, Showing 0H, 0L, 1H, 1L. This is a very successful program of temperature control, 1K only four out of space in upper and lower control limits. checksum: 1E09, the use of space 908 space 115 47K+4.7 K+104 .50 KET sensor configuration, FP00 measurement 2 lower limit of control on the road.
Platform: |
Size: 7168 |
Author: 蓝天 |
Hits:
Description: TFT PT0181216-A701 128 x 160 pixels
Platform: |
Size: 409600 |
Author: LCD |
Hits:
Description: 1. 用18B20或AD590温度传感器作温度探头,采集温度数据并转换成BCD码在数码管上显示。
2. 记录间隔可任意设定(1S到1h,步长1s),能按设定时间存储数据。
3. 通过键回放温度和记录时间参数。
4. 设定温度告警门限。
通过声、光告警显示
-1. 18B20 or the AD590 temperature sensor using the temperature probe, temperature data collected and converted into a BCD code in the digital tube display.
2. Recording interval can be arbitrarily set (1S to 1h, step 1s), able to store data according to set-up time.
3. Playback through the key records of temperature and time parameters.
4. Set the temperature alarm threshold.
Through sound, light and alarm display
Platform: |
Size: 66560 |
Author: zfyplay |
Hits:
Description: Basic 1H- and 13C- NMR Spectroscopy handbook
Platform: |
Size: 13320192 |
Author: korn |
Hits: