摘要
首先介绍微机 RS-232-C 标准接口及单片机通讯接口,其次阐述在 DOS和 Windows操作系统中微机和单片机进行串行通信的实现方案。在 DOS操作系统中,以 Turbo C 编程环境为例介绍 C语言的通信编程。在 Windows操作系统中,以 VisualC++ 开发环境为例介绍C++语言的通信编程。
First the RS- 232 - C standard interface of PC and the communication interface of singlechip are introduced simply, then the communication project between PC and singlechip in the operating systems such as DOS and Windows are particularly explicated. As an example, the communication program written in C language based on the programming enviroment of Turbo C in the operating system of DOS is introduced. Another example, the communication program written in C+ + laguage based on the programming enviroment of Visual C+ + in the operating system of Windows is also introduced.
出处
《电子测量技术》
2004年第2期59-60,共2页
Electronic Measurement Technology