用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发。...
代码说明:
用485实现单片机之间的串行通信。 主机部分发送从机地址,等待从机响应,从机准备好就发数据,发完就接收从机的响应,接受成功就跳出循环,否则重发。-MCU with 485 Serial Communication between. Host of this address from the plane, waiting for the response from the plane, from the plane ready to discuss the data, finished on the reception of the response from the plane. set aside for recycling success, otherwise re-issued.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!