-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is directionPinNumber optional? #50
Comments
Can you please post all the code including the initialisation of the variables you use to configure the library? |
I had a Quick Look in general into the code and it is fine to not specify a direction pin, default value for this pin will be 255 then, and the library will not set the pinmode in that case. |
thank you for instant reply |
Hello again, I tried not to involve my old and dirty code so I moved to Arduino IDE and a simplified Example1 code
still getting this error:
I tried also with minus, same efect Arduino IDE 2.3.3 and ESP_FlexyStepper 1.5.0. Thank you, LE: updated to Arduino IDE 2.3.4, same thing |
Hello,
I need to control a stepper in a single direction, so no need the directionPinNumber
If only stepPin used, like this:
stepper.connectToPins(stepPin);
I get this message in serial:
E (225545) gpio: gpio_set_level(227): GPIO output gpio_num error
Of course, I can define a directionPin but I'm fully out of available GPIOs because a TFT display with parallel connection which will be difficult to replace for other reasons.
So, not a big deal with that message but the question still remain: will work like this without other issues?
Thank you,
Seb
The text was updated successfully, but these errors were encountered: