(/
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)