We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While I set Xaxis.move,Yaxis.move both negtive, both of two motor not run.
I am using ESP32 with arduino & TMC2209 driver.
I have tested that 3 type work and only 1 type not work.
Code:
#include <Arduino.h> #include <AccelStepper.h> AccelStepper Xaxis(1, 16, 17); // step, direction AccelStepper Yaxis(1, 25, 26); // step, direction void setup() { int x_circle = 3200; int y_circle = 3200; Xaxis.setMaxSpeed(x_circle*8); Yaxis.setMaxSpeed(y_circle*8); Xaxis.setAcceleration(1*x_circle); Yaxis.setAcceleration(1*y_circle); // work! // Xaxis.move(1*x_circle); // Yaxis.move(1*y_circle); // work! // Xaxis.move(1*x_circle); // Yaxis.move(-1*y_circle); // work! // Xaxis.move(-1*x_circle); // Yaxis.move(1*y_circle); // NOT WORK! Xaxis.move(-1*x_circle); Yaxis.move(-1*y_circle); } void loop() { Xaxis.run(); Yaxis.run(); }
The text was updated successfully, but these errors were encountered:
@waspinator my email: [email protected]. Thank you firstly!
Sorry, something went wrong.
No branches or pull requests
While I set Xaxis.move,Yaxis.move both negtive, both of two motor not run.
I am using ESP32 with arduino & TMC2209 driver.
I have tested that 3 type work and only 1 type not work.
Code:
The text was updated successfully, but these errors were encountered: