Introduction - If you have any usage issues, please Google them yourself
In the case of serial port read and write, this program encapsulates the read-write function of the serial port, which only needs to execute the run function in the main program