-
openssl
为网络通信提供安全及数据完整性的一种安全协议,囊括了主要的密码算法、常用的密钥和证书封装管理功能以及SSL协议,并提供了丰富的应用程序供测试或其它目的使用。(The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing ...
)
- 2014-01-19 23:59:58下载
- 积分:1
-
nbody_mpi
使用mpi并行实现n体问题普通算法以及简化算法(Using mpi parallel n-body algorithm to achieve common problems and simplify algorithms)
- 2020-11-23 00:59:34下载
- 积分:1
-
update
站长写的一个使用FTP自动更新应用系统文件的程序,可以自动拨号( Stationmaster writes uses FTP automatically to renew the
application system document the procedure, may the automatic digit
dialing )
- 2001-02-07 00:00:00下载
- 积分:1
-
stm32 简易PLC 功能
使用STM32 开发的简易PLC功能代码。可以供初学者参考方法。完善了几十条PLC基本指令。可以正常使用。
用PLC的方法去开发单片机可以提高开发效率。
- 2022-12-08 13:55:03下载
- 积分:1
-
algorithm
一本介绍各种算法的经典书籍,计算机算法设计与分析(A classic book introduces a variety of algorithms, algorithm design and analysis of computer)
- 2011-08-08 22:13:02下载
- 积分:1
-
tower-of-Han
此为汉诺塔程序,汉诺塔层数为输入变量,其它不需要输入(This is the Tower of Hanoi program, Hanoi layers as input variables)
- 2014-09-16 10:02:25下载
- 积分:1
-
2-A1电梯模拟调度
说明: 数据结构课程设计 电梯调度算法的实现,实现简单,可直接使用(Elevator is defined in this program.You can use it directly;)
- 2018-12-23 15:44:24下载
- 积分:1
-
CLOCK
钟面上的时针和分针之间的夹角总是在 0 ~180之间 ( 包括 0 和180 ) 。举例来说,在十二点的时候两针之间的夹角为 0 ,而在六点的时候夹角为180 ,在三点的时候为90 。本题要解决的是计算 12:00 到 11:59 之间任意一个时间的夹角。(The angle between the hour and minute hands of the clock face is always between 0 to 180 (including 0 and 180). For example, twelve o' clock, when the angle between the two pin 0, in the six o' clock when the angle is 180, three points for 90. This question must be resolved are the angle of the calculation of 12:00 to 11:59 any one time.)
- 2011-06-28 13:14:11下载
- 积分:1
-
c_matlab
一个关于MATLAB与c混合编程的资料,适合与混合编程的初学者(1 c mixed on MATLAB programming and data, suitable for beginners and mixed programming)
- 2009-11-21 16:35:52下载
- 积分:1
-
基于C语言的PC机串口收发(重叠方式)
1、开发工具:VS2003及以上版本;
2、功能:计算机的串口收发;
3、编程语言:C语言;
4、实现过程:
发送端:
step1:CreateFile函数打开串口COM1;设置通信方式为重叠模式;
step2:配置串口波特率,定义控制字DCB,对DCB结构体中主要参数,如波特率、数据位数、校验位、停止为数结构参数进行赋值;配置超时,定义结构体变量TIMEOUTS,对TIMEOUTS中的主要参数进行赋值,完成间隔超时和总超时的定义;
step3:定义写串口函数UartWrite();完成将用户输入发送到串口的工作;
step4:main函数中定义while循环,不断采集用户的输入。
同理,接受端的代码结构如下:
发送端:
step1:CreateFile函数打开串口COM1;设置通信方式为重叠模式;
step2:配置串口波特率,定义控制字DCB,对DCB结构体中主要参数,如波特率、数据位数、校验位、停止为数结构参数进行赋值;配置超时,定义结构体变量TIMEOUTS,对TIMEOUTS中的主要参数进行赋值,完成间隔超时和总超时的定义;
step3:定义写串口函数UartRead();完成将从串口读取数据的工作;
step4:main函数中定义while循环,读取串口数据。
5、操作说明:
step1:打开serialrev.exe,点击任意键,建立读串口;
step2:打开serialtrans.exe,窗口显示“串口创建成功”,然后输入字符,回车,发送数据。
step3:观察serialrev.exe窗口的变化,此时会显示接受到的数据。
- 2022-03-19 17:20:32下载
- 积分:1