Beispiel #1
0
from uvscada.usbio import USBIO
import time

print 'Creating device'
u = USBIO('/dev/ttyACM0', debug=True)

for i in xrange(16):
    print 'Version: %s' % (u.version(),)

print
print 'Done'

Beispiel #2
0
from uvscada.usbio import USBIO
import time

print 'Creating device'
u = USBIO('/dev/ttyACM0', debug=True)

for i in xrange(16):
    print 'Version: %s' % (u.version(), )

print
print 'Done'