diff --git a/SoftOscilloscope.py b/SoftOscilloscope.py index a1498ca..35ef724 100644 --- a/SoftOscilloscope.py +++ b/SoftOscilloscope.py @@ -71,7 +71,7 @@ def start(self): class SerialPlot(BasePlot): def __init__(self, com_port, baud_rate, **kwargs): self.serial_port = serial.Serial() - self.serial_port.baud_rate = baud_rate + self.serial_port.baudrate = baud_rate self.serial_port.port = com_port super(SerialPlot, self).__init__(self.serial_port, **kwargs)