latonita / SoftwareStepDirUnipolarDriver

Arduino-based step/dir driver for unipolar motors connected via ULN2003 or similar circuits
MIT License
6 stars 2 forks source link

motor only working in one direction with nanodlp #1

Open jschoch opened 7 years ago

jschoch commented 7 years ago

my code is only working in one direction. What do you think would cause this? The dir pin seems to toggle and even if it didn't wouldn't the motor just keep going the same direction ignoring a toggle? I've wired it up and used your code in this repo with no changes. Perhaps the pinouts on my uln2003 board are different.

jschoch commented 7 years ago

i had the limit switch setup wrong and it was blocking travel in the other direction. I just hacked in accelstepper if you are taking pull requests, otherwise I can fork it.