找回密码
 立即注册
通讯communication串口and | 邮电通讯系统 2022-07-03 67 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
串口通讯作为一种古老而又灵活的通讯方式,被广泛地应用于PC间的通讯以及PC和单片机之间的通讯之中。提到串口通讯的编程,人们往往立刻想到C、汇编等对系统底层操作支持较好的编程语言以及大串繁琐的代码。实际上,只要我们借助相关ActiveX控件的帮助,即使是在底层操作一向不被人看好的VB中,一样能够实现串口通讯,甚至其实现方法和C、汇编相比,要更加快捷方便。下面,笔者就介绍一下在VB中实现串口通讯的方法。

(As an ancient and flexible communication method, serial communication is widely used in the communication between PCs and between PC and MCU. When it comes to serial communication programming, people often immediately think of C, assembly and other programming languages that support the bottom operation of the system better and a large series of cumbersome code. In fact, as long as we use the help of relevant ActiveX controls, even in VB, whose underlying operation has never been valued, we can realize serial communication, and even its implementation method is faster and more convenient than C and assembly. Next, the author will introduce the method of realizing serial communication in VB.)

[下载]16461740143.rar




上一篇:Cisco 访问表配置指南【高清中文PDF】
下一篇:teamviewer4.1.最好的远程控制软件,穿过防火墙