摘要
通过对常用PC机串行接口的比较,阐述了用C++Builder语言实现基于ActiveX技术的串行通信编程的过程,介绍了C++Buider的Tcomm组件特性和8031单片中机主要通信程序模块的设计思想,利用C++Builder语言制作的应用程序界面,最后通过调用TComm控件来实现PC机与MCS 51系列单片机进行串口通信,并给出了主要通讯程序、模块的C++Builder代码和汇编语言程序。
Through the comparison of the serial interface of the daily PC ,This paper has realized the general step based on serial communication programming of ActiveX technology with C++builder language, has introduced and utilized the application program interface made of C++builder languages, has transferred the controlling part of TComm to realize the PC and MCS 51 serial one-chip computers and has carried on one bunch of communication methods .
出处
《重庆工商大学学报(自然科学版)》
2005年第4期360-363,共4页
Journal of Chongqing Technology and Business University:Natural Science Edition