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)
def info(): brd = DriverBrd() print brd.getInfo()
def close(): brd = DriverBrd() brd.close() brd = DriverBrd() print brd.setSequence([3, 4, 0, 5, 1, 2]) print brd.getInfo()