Skip to main content
fix url
Source Link
Velvet
  • 191
  • 1
  • 11

I hope someone finds this useful. OK, this is working: I repeated the command, first with 1 step and then the full 1000 steps. Now, the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1000);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c` GitHub: d333gs/Code update

I hope someone finds this useful. OK, this is working: I repeated the command, first with 1 step and then the full 1000 steps. Now, the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1000);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

I hope someone finds this useful. OK, this is working: I repeated the command, first with 1 step and then the full 1000 steps. Now, the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1000);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1000);

GitHub: d333gs/Code update

fixed capitalization, grammar, formatting
Source Link
agarza
  • 1.7k
  • 2
  • 16
  • 33

I hope someone finds this useful. OK........., this is working: I repeated the command First, first with 1 step and then the full 1000 steps Now. Now, the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1000); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1000);

digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1000);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

I hope someone finds this useful. OK......... this is working: I repeated the command First with 1 step and then the full 1000 steps Now the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1000); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

I hope someone finds this useful. OK, this is working: I repeated the command, first with 1 step and then the full 1000 steps. Now, the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X_DIR_PIN, HIGH);
simpleAccel(1000);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1);
digitalWrite(X1_DIR_PIN, HIGH);
simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

added 67 characters in body
Source Link

I hope someone finds this useful. OK......... this is working: I repeated the command First with 1 step and then the full 1000 steps Now the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1000); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1000); `

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

I hope someone finds this useful. OK......... this is working: I repeated the command First with 1 step and then the full 1000 steps Now the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1000); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1000); `

I hope someone finds this useful. OK......... this is working: I repeated the command First with 1 step and then the full 1000 steps Now the motors move together in the same direction.

digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X_DIR_PIN, HIGH); simpleAccel(1000); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1); digitalWrite(X1_DIR_PIN, HIGH); simpleAccel(1000);

https://gist.github.com/d333gs/6f017ae1f41bfbc67eedb23ee1991c0c`

Source Link
Loading
Post Made Community Wiki by John Francis