[GLLUG] Reading USB serial port broken
Henrik Morsing
henrik at morsing.cc
Fri Sep 20 12:15:32 UTC 2019
On Fri, Sep 20, 2019 at 11:00:53AM +0100, Dimitrios Siganos wrote:
>How do you open the serial port from python?
>If you use pyserial, try both with hardware flow control on and off like
>this.
>
>ser = serial.Serial(device, baudrate, rtscts=1)
>and...
>ser = serial.Serial(device, baudrate, rtscts=0)
>
Thanks, I just tried both those rtscts settings and neither helped.
I'm just wondering what tail does that makes it work.
Henrik
More information about the GLLUG
mailing list