Ask Your Question

Revision history [back]

I tried kvogt solution without success, but found that these other lines worked for me:

self.port = Serial(port, 0, timeout=self.timeout*0.5)
self.port.baudrate = 1200
time.sleep(1.0)
self.port.baudrate = baud
time.sleep(1.0)