C ++中的USB接口 [英] USB interfacing in C++

查看:109
本文介绍了C ++中的USB接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我是串行通讯的新手.我想通过USB端口发送和接收数据.

我有一个串行到USB转换器,可以在USB端口上提供数据.现在,我想使用C ++接收和传输数据.

请有经验的人为此目的向我建议一些教程.

在此先感谢您.

Hello,

I am new to serial communication. I want to send and receive data through USB port.

I have a serial to USB converter to supply data at USB port. Now I want to receive and transmit data using C++.

Anyone experienced is requested to suggest me some tutorials for this purpose.

Thanks in advance.

推荐答案

转换器正确安装后,您可以将其作为普通串行端口使用.
CP有许多关于该主题的文章,以下是一些文章:
Win32 SDK串行通信变得简单 [ CSerialIO-一个有用且简单的串行通信类 [ C ++的串行库 [
Once the converter is installed properly you can handle it as a normal serial port.
CP has many articles on the subject, here are a few:
Win32 SDK Serial Comm Made Easy[^]
CSerialIO - A Useful and Simple Serial Communication Class[^]
Serial library for C++[^]


这篇关于C ++中的USB接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆