摘要
介绍一种无应答数值发送、接收的协议,利用MCS-51单片机进行各种数值发送、在VC下借助MSComm通信控件进行数值接收,并给出发送和接收处理程序的源代码及详细注释。解决了串行通信仅能发送字符型数据的难题,提出利用串行通信接口直接传输各种数值数据的方案,运行效果良好。
This paper introduces the non - response sending - receiving protocol of numerical data. It explains how to send various numerical data by MSC - 51 mcu and receive the data by means of MSComm under VC environment. It also presents the source code and related explanations of the sending- receiving program. It solves the difficult problem which serial communication can only send data of character type. The paper proposes the plan of transmitting various numerical data by serial communication interface and its running result is good.
出处
《天津职业院校联合学报》
2008年第2期47-49,共3页
Journal of Tianjin Vocational Institutes