Introduction - If you have any usage issues, please Google them yourself
keil C51 non-blocking serial communication
This procedure applies to learning exchanges, read one byte (not back to the car) back to the car read into a string, send the string function test was successful.
This program can send and receive continuous string, the string output error does not occur the problem. And add a string comparison function (not case-sensitive),
Enter So2, automated response success, than to the success.
Therefore, this program uses interrupts, and sending and receiving non-blocking mode, the disadvantage is occupied by some memory, buffer size can be freely configured.
If you find BUG please send mail to: my email: bjzll520@foxmail.com
This procedure is adapted from BLOG: http://lovelytime.21ic.org program, amended its several BUG.
. Serial transceivers are online but not routine, block-style transceiver, taking too much CPU time, send and receive interrupt this program with the need to read the buffer when the data obtained
Free to modify t