Code: Select all
Phidget22.Devices.DCMotor import DCMotor
def process_dc_motor():
motor = DCMotor()
motor.openWaitForAttachment(1000)
<< do some task >>
motor.close()
Code: Select all
Phidget22.Devices.DCMotor import DCMotor
def process_dc_motor():
motor = DCMotor()
motor.openWaitForAttachment(1000)
<< do some task >>
motor.close()
Users browsing this forum: No registered users and 1 guest