Skip to content

Conversation

@bobthecooldad
Copy link

During debugging if a value of equal over 100000 would be passed using tmc26XStepper.step(X), it would cause the value to go to a negative int. Debugged back to this bit of code, so pushing as a bug fix to help future projects.

Updating Both the CPP and H file, to long otherwise values over 100000 on INT will roll over and cause a negative and override any existing code that controls direction by pulling the dir high or by multiplying the steps by -1
To match the CPP
Removed Debug Notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant