Search Results

by ats_1004
Wed Sep 08, 2021 7:06 pm
Forum: Phidgets
Topic: Python code for Phidget Stepper
Replies: 1
Views: 10499

Python code for Phidget Stepper

Hi I want to run a python script when a stepper motor stops. I found example codes on website like this. I tried but how can I print('stopped') when a stepper motor stops? from Phidget22.Phidget import * from Phidget22.Devices.Stepper import * import time def onStopped(self): ch = Stepper() # Regist...