Jul-07-2020, 12:41 PM
All is in the documentation. But for now, here you have a small example:
ser = serial.Serial() ser.baudrate = 100000 ser.port = port ser.parity = serial.PARITY_EVEN ser.stopbits = 2 ser.open()