示例#1
0
 def click():
     brd = DriverBrd(NewApiTest.port)
     #print brd.setSequence([3,4,0,5,1,2])
     print brd.getInfo()
     motor = 2
     print brd.setValue(motor, 20)
     time.sleep(.01)
     print brd.setValue(motor, 0)
示例#2
0
 def info():
     brd = DriverBrd()
     print brd.getInfo()
示例#3
0
 def close():
     brd = DriverBrd()
     brd.close()
     brd = DriverBrd()
     print brd.setSequence([3, 4, 0, 5, 1, 2])
     print brd.getInfo()