CodePudding user response:
Immediately after you open the serial port in the data? Open the serial port delay 1 seconds after a try,Before I am python control arduino, need to send a delay of 1 second to succeed to send, using serial assistants and virtual serial port test, found that is quite normal,
Surprise, only need to delay 1 seconds after open the serial port can normal to send data,