Commit f1a11334 by Sebastian Renner

Gapuino test script fix

parent 62f566e3
...@@ -24,7 +24,6 @@ def get_serial(): ...@@ -24,7 +24,6 @@ def get_serial():
import serial.tools.list_ports import serial.tools.list_ports
ports = serial.tools.list_ports.comports() ports = serial.tools.list_ports.comports()
devices = [ p.device for p in ports ] devices = [ p.device for p in ports ]
devices.sort()
return devices return devices
...@@ -136,7 +135,7 @@ def main(argv): ...@@ -136,7 +135,7 @@ def main(argv):
ser.setRTS(False) ser.setRTS(False)
time.sleep(0.1) time.sleep(0.1)
ser.setRTS(True) ser.setRTS(True)
time.sleep(1) time.sleep(1.5)
exp_hello = b"Hello, World!" exp_hello = b"Hello, World!"
hello = ser.read(len(exp_hello)) hello = ser.read(len(exp_hello))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment