找回密码
 立即注册
邮电通讯系统 2022-07-26 46 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
/
以下为单片机串口485通讯程序,从机程序(当然也适用于主机程序),主机发送可以先用串口辅佐软件来调试,通过KeiluVision4实践测试,测试效果如完毕图像所示,大多数来自网络,只是改了两个本地:len=sizeof(dbuf),if(i#62;=(__ERRLEN+1))//帧超长,错误,回来,就可以实现了,其间的因素

(/
The following is the serial port 485 communication program of the single-chip microcomputer, the slave program (of course also applies to the host program), the host can use the serial port auxiliary software to debug first, through the KeiluVision4 practical test, the test effect is as shown in the completed image, most of them come from the network, only Changed two local: len=sizeof(dbuf), if(i#62;=(__ERRLEN+1))//The frame is too long, error, come back, it can be realized, the factors in between)

[下载]16002422313.rar




上一篇:物联网技术发展现状及问题研究
下一篇:[平板电脑教程系列]如何设置WiFi无线上网