tyhenry / CheapStepper

Arduino library for the cheap but decent 28BYJ-48 5v stepper motor with ULN2003 board
GNU General Public License v3.0
123 stars 45 forks source link

Object Initializers issue #5

Closed ghost closed 6 years ago

ghost commented 7 years ago

Does the current implementation of the inizializer CheapStepper (int in1, int in2, int in3, int in4); work? I've found that the pins mode was not changed when declaring the stepper before the setup using it. I'm in a hurry so I just added a begin() method that does the same as in CheapStepper() in the setup and that fixed the problem. I hope I'm making sense and not mistaking the purpose of the library.

JGoodHub commented 7 years ago

Just tried it with my version and i'm having the same issue, no matter what pins I declare for the motor driver it always defaults to 8 through 11 meaning only one driver board can be connected at once

tyhenry commented 6 years ago

fixed with v0.2.1