摘要
通过SRWF-1022模块完成PC机与单片机的数据传输任务,该功能可以应用在很多领域,如各类仿真机器。首先,编写通信协议,保证数据发送到指定的单片机以及数据发送正确;随后用LabVIEW编写上位机的界面,用C语言编写下位机程序;最后利用串口进行调试直至通信正确。
The task of data communication of personal computer and single chip computer is completed through the SRWF-1022 Module that could apply to many fields,such as varies simulated machines.Firstly,compile communicational protocol and make sure the data send to the right single computer and the data sent correctly.Then,compile interface and write com- puter program with C.Lastly,have a trial run using COMMASSUP till the right communication.
出处
《工业控制计算机》
2014年第7期84-85,共2页
Industrial Control Computer