Home > other >  Python serial serial port to a matter of efficiency
Python serial serial port to a matter of efficiency

Time:10-03

The great god have a serial port after writing data need to delay 1 second to use readline () to read data! You the problem of efficiency of Python!

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,
  • Related