Add latencies to communication script on Host side for testing.

and it works.
This commit is contained in:
Stefan Beller
2012-05-21 18:33:15 +02:00
parent 2f86dc634d
commit a82a9c16ad

View File

@@ -1,9 +1,7 @@
#!/usr/bin/env python
#import usb.core
#import usb.util
import usb
import time
asp = None
busses = usb.busses()
@@ -35,6 +33,7 @@ try:
enableSerialMode(handle)
while True:
data = getData(handle)
time.sleep(0.01)
if len(data):
print data