Closed drp0 closed 7 years ago
I've had the same issue. This should be updated in the source. Thanks for the workaround
Thanks for opening this issue, and sorry for the LOOONG delay (I was out of the country for a while). I created a dev branch with the fix. If possible could you try with that branch just to double check it works? If not I will try to test soon, then will merge to master and tag as v0.2.1
Also please feel free to fork and make pull requests
On ide 1.6.12 the non default call CheapStepper stepper(4, 5, 6, 7); results in the default pins (8, 9, 10, 11) being set.
if line 41 of the library .cpp file is altered from CheapStepper(); to for (int pin = 0; pin < 4; pin++) pinMode(pins[pin], OUTPUT); the new pins work.
The Non-blocking functions are very useful! My example allows simultaneous control of two stepper motors with simple left, right, forward and backward functions:
David