Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lib PySerial
#3
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()
Reply


Messages In This Thread
Lib PySerial - by Pelathaon - Jul-07-2020, 04:58 AM
RE: Lib PySerial - by Larz60+ - Jul-07-2020, 12:28 PM
RE: Lib PySerial - by DashOrion - Jul-07-2020, 12:41 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020