Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4792

Python • Re: Pi 5 pigpio no longer available. How to read 9 bit serial

$
0
0
pySerial has a bytesize parameter which you could try setting to 9.

Code:

>>> ser Serial<id=0xa81c10, open=False>(port='COM1', baudrate=19200, bytesize=8, parity='N', stopbits=1, timeout=None, xonxoff=0, rtscts=0)

Statistics: Posted by deepo — Tue May 21, 2024 8:12 pm



Viewing all articles
Browse latest Browse all 4792

Trending Articles