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

Fix the constructor #12

Closed GeeF closed 6 years ago

GeeF commented 6 years ago

When using different pins from the default they will not get set with the previous constructor arrangement. The default pins are used regardless, which leads to crashes on ESP8266 since they are invalid pin numbers there.

tyhenry commented 6 years ago

Thanks for the reminder on this issue - I've been neglecting this repo for too long. I adjusted the code to fix custom pinouts.

See release v0.2.1.
It should propagate to the Arduino libraries shortly.