adafruit / Adafruit_CircuitPython_MotorKit

CircuitPython helper library for the DC & Stepper Motor FeatherWing, Shield and Pi Hat kits.
MIT License
86 stars 31 forks source link

Running motors in parrallel #46

Open petrasvestartas opened 1 year ago

petrasvestartas commented 1 year ago

Hi,

I am using following example to run two motors: https://github.com/adafruit/Adafruit_CircuitPython_MotorKit/blob/main/examples/motorkit_dual_stepper_test.py

The code runs the motors sequentually, firstly the first motor, then the second.

https://github.com/adafruit/Adafruit_CircuitPython_MotorKit/assets/18013985/9d6b03af-a5a7-4b67-81d0-f9b6270a4635

Is there a way to run the two motors at once?