Welcome! Log In Create A New Profile

Advanced

Does anyone have a flowchart of the stepper.c (cpp) functions?

Posted by unix_guru 
Does anyone have a flowchart of the stepper.c (cpp) functions?
June 05, 2016 12:35PM
I've searched here, and in several other boards, as well as the typical Google search, but to no avail.

I'm trying to debug my implementation on ARM, without the speed lookup tables, and thought a flow chart would be the first place to start. I'm surprised at the apparent dearth of documentation outside of code comments.

Does anyone have, or has anyone seen a functional workflow that describes the timing relationship between X/Y/Z/E ?

Thanks in advance.

Michael
Re: Does anyone have a flowchart of the stepper.c (cpp) functions?
June 16, 2016 01:22PM
Flowcharts are a thing of the past, I rarely see them nowadays. Professional code might use UML or other modelling diagrams.

Most public projects just use the source. The theory is that code written in a high level language should be self explanatory, and that is mostly true.

The timing relationship is usually done with the Bresenham algorithm, though you don't say what firmware you are looking at.


What is Open Source?
What is Open Source Hardware?
Open Source in a nutshell: the Four Freedoms
CC BY-NC is not an Open Source license
Sorry, only registered users may post in this forum.

Click here to login