Added a second test configuration

This commit is contained in:
maniacbug
2011-07-13 19:13:57 -07:00
parent 1517f1249d
commit c13db8f42d
4 changed files with 40 additions and 15 deletions

View File

@@ -15,7 +15,7 @@ def read_until(token):
ser = serial.Serial(sys.argv[1], 57600, timeout=5, dsrdtr=False, rtscts=False)
read_until("+READY")
ser.write(" ")
ser.write(sys.argv[2])
line = read_until("+OK")
ser.close()