Add a parameter Snnn to M92 that indicates the microstepping factor#247
Conversation
…he stepsPerUnit where calculated at
|
Thanks for your PR. Suggestions for improvement:
|
Also unite both SetStepsPerUnit methods into one.
|
I had a hard time thinking of which parameter to actually use. I was also hesitant to use Also changed to And I decided that I unify the two |
|
Thanks for making those changes. Please re-submit your PR with target branch 'dev' because that is the branch I am now using for development. |
|
Done. |
|
For sake of completeness: I added this parameter to reprap.org |
|
Thanks! |
This closes my request at: https://forum.duet3d.com/topic/8225/m92-parameter-to-indicate-microstepping
I was too impatient again. ;-)
I chose the parameter to be
Fnnnjust because I wanted to avoidMnnnbecause of M-codes andXorUare already taken by axis names. So this is microstepping-Factor.