DC Motor & Stepper Motor HAT with Pi Issue
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88141
- Joined: Sat Feb 07, 2009 10:11 am
Re: DC Motor & Stepper Motor HAT with Pi Issue
The example does not appear to have any thread synchronization, so it would probably not run reliably with multiple steppers.
- Finksterr
- Posts: 22
- Joined: Fri Dec 11, 2015 10:56 pm
Re: DC Motor & Stepper Motor HAT with Pi Issue
Adding a time.sleep(0.005) before each not st.isAlive() check seems to fix the issue.
Please be positive and constructive with your questions and comments.