pipecat.device.serial module¶
Functions for working with serial ports.
-
pipecat.device.serial.readline(*args, **kwargs)¶ Reliably read lines from a serial port.
Accepts the same parameters as
serial.serial_for_url(), plus the following:Parameters: poll (time quantity, optional) – Time to wait between failures. Yields: record (dict) – Records will contain each line of text read from the port.