登录
首页 » C++ » sampleCom

sampleCom

于 2013-08-02 发布 文件大小:20KB
0 291
下载积分: 1 下载次数: 12

代码说明:

  封装了windows操作串口的几个API(CreateFile, ReadFile,WriteFile,SetComState)。串口的读写设置这几个操作都可以简单地只用关键一两个参数就能实现操作。也是一个很好的例子,我写这个之前查了不少资料,感觉非常麻烦,索性发出来给新手们作个样例(Windows serial COM port access class,it includes CreateFile, SetComState,ReadFile,WriteFile,CloseFile)

文件列表:

spcom
.....\sampleCom.cpp,9685,2013-07-08
.....\sampleCom.h,1486,2013-07-08

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 使用遗传算法优化了阵列天线方向图
    使用遗传算法优化了阵列天线方向图,亲自打的代码,已验证可使用(Genetic algorithm is used to optimize the pattern of the antenna array, and the code has been verified to be available.)
    2021-05-12 16:52:07下载
    积分:1
  • 2345535436雷达系统建模与仿真
    说明:  雷达系统仿真,雷达SAR成像,信号处理,模糊函数,波形发生,回波模拟,信道模拟,点迹航迹跟踪等等(Radar system simulation, radar SAR imaging, signal processing, ambiguity function, waveform generation, echo simulation, channel simulation, point track tracking, etc.)
    2020-11-09 10:39:49下载
    积分:1
  • 基于Matlab加噪语音的FIR滤波器设计_申艳
    数字信号处理,设计数字滤波器,利用MATLAB语言仿真实现(Digital Signal Processing, Design of Digital Filter and Realization by MATLAB Simulation)
    2019-04-12 20:51:10下载
    积分:1
  • ThinkPHP_3.2.1_20140214
    实用性代码,可以在手机等移动设备上很好的使用,可操作性强。(Usefulness of the code can be very good for use on mobile phones and other mobile devices operable.)
    2014-02-26 09:57:45下载
    积分:1
  • LFM
    脉冲压缩的匹配滤波。目标距离分别为10米,30米和100米,对于未压缩的脉冲,三个回波信号混叠在一起,不能分辨,而经过脉冲压缩的脉冲信号则可通过匹配滤波收到3个回波信号(Matched filtering for pulse compression.Target distances are 10 metres, 30 metres and 100 metres, respectively. For uncompressed pulses,The three echo signals are overlapped and can not be distinguished. While pulse compression can distinguish three echo signals after matched filtering)
    2021-04-15 20:38:54下载
    积分:1
  • CDMA
    中国电信CDMA终端需求规范 数据终端AT命令接口分册 (China Telecom CDMA terminal needs AT command interface specification data terminal branch)
    2011-10-10 11:37:52下载
    积分:1
  • vij1
    function ber_ml=Alamoudi(snr,soglia) This function simulates a Alamouti scheme. The input variables are soglia and snr. Soglia: is the number of errors after which the iterations stop. For better results, put high value of soglia, but the simulation is longer. snr: the signal to noise ratio (if u don t know what is a signal to noise ratio, well, come back to your high school!). Note: U should use this function with a main function in wich u chose different value of snr. That s because this function work just with one value of snr. If u have problem with this code, write me at m.allegritti@email.it. Take care! Max
    2010-02-06 17:26:08下载
    积分:1
  • 6
    说明:  6. 在三条径的瑞利信道中,对于OFDM: (1) 请设计一种具体的导引辅助的信道估计方法,用Simulink进行仿真。画出比特信噪比与信道估计均方误差的关系曲线和比特信噪比与误码率的关系曲线。 (2) 设频率已同步,请设计OFDM一种具体的采用循环前缀进行时间同步方法,用Simulink进行仿真,画出比特信噪比与捕获概率的关系曲线。 (3) 设时间已同步,请设计OFDM一种具体的采用循环前缀进行频率同步方法,用Simulink进行仿真,画出比特信噪比与频率同步误差的关系曲线。(6. In the three-path Rayleigh channel, for OFDM: (1) please design a specific navigation-assisted channel estimation method and use Simulink for simulation.The relation curves of bit signal-noise ratio and channel estimation mean square error and the relation curves of bit signal-noise ratio and bit error rate are drawn. (2) if the frequency has been synchronized, please design a specific method of time synchronization using cyclic prefix in OFDM. Simulink is used for simulation to draw the relationship curve between bit-snr and acquisition probability. (3) if time has been synchronized, please design a specific method of frequency synchronization using cyclic prefix in OFDM. Simulink is used for simulation to draw the relationship curve between bit signal-to-noise ratio and frequency synchronization error.)
    2021-01-23 11:58:44下载
    积分:1
  • colea444
    This includes how to protect the speaker using matlab functions.
    2010-03-03 09:21:36下载
    积分:1
  • ichat
    一个真正SERVER PUSH的聊天室,很不错,C语言所写,最可惜的是已经被编译过了,但是界面全部被独立出来了的,可以自行更改,只是不能研究程序的内部结构…… (a real SERVER PUSH chat rooms, very good, C language written, it is most unfortunate that has been compiled, but the interface were all independent of and can make changes, but the procedures are not able to study the internal structure of ...)
    2004-09-27 22:28:08下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载