sorta working, control needs to be improved

This commit is contained in:
2020-10-01 14:04:35 -07:00
parent f86e4d7c52
commit 90b9831079
62 changed files with 3221 additions and 510 deletions

View File

@@ -3,10 +3,10 @@
import serial, string
output = " "
ser = serial.Serial('/dev/ttyUSB0', 9600, 8, 'N', 1, timeout=1)
ser = serial.Serial('/dev/ttyUSB1', 9600, 8, 'N', 1, timeout=1)
while True:
while output != "":
output = ser.read(1)
output = ser.read(4)
print len(output)
try:
print int(output)