论文部分内容阅读
基于32位Windows操作系统的PC机和单片机间的串行通信是一种常见的通信方式。PC机与多单片机结合的测控系统越来越占主导地位。如何更好的在Windows平台下实现PC机与单片机的通信设计,成为测控系统中一个关键技术问题。为此,详细阐述了两种程序设计的方法。即,在VC++6.0中使用WindowsAPI函数编写程序和使用VC++自带的Microsoft Communications Control控件(即MSComm控件)编写程序。
Serial communication between a PC and a microcontroller based on a 32-bit Windows operating system is a common form of communication. PC and multi-chip combination of monitoring and control system more and more dominant. How to better realize the communication design between PC and SCM under the Windows platform has become a key technical issue in the measurement and control system. To this end, elaborated two kinds of programming methods. That is, in VC + +6.0 using WindowsAPI function to write programs and use VC + + own Microsoft Communications Control control (MSComm control) to write programs.