Lines Matching refs:serial
27 import serial
39 self.serial = serial.Serial(dev, 115200, timeout=timeout)
42 self.serial = None
71 if self.serial:
72 self.serial.cancel_read()
75 if self.serial:
76 self.serial.close()
78 # Thread that just reads the bytes from the serial device to try to keep from
86 b = self.serial.read()
95 # Thread that just reads the bytes from the file of serial output that some
123 # the serial device
147 print("read timeout waiting for serial during {}".format(phase))
154 print("read timeout waiting for serial during {}".format(phase))
159 print("End of serial output")
171 help='Filename for serial output', required=True)
173 help='Prefix for logging serial to stdout', nargs='?')