The code you have posted does not even have a first stepper-motor.
I still have the impression that you know almost nothing about programming.
If you would know something about programming you would have been able to post a code that does have at least something about a
single stepper-motor.
I'm sure you know how to use google.
Here is a screenshot of how to search for an example-demo-code about stepper-motors
I guess your picture of how programming works is:
add 5 to 10 lines of code and everything is working.
If it would be that easy somebody would have posted the ten lines of code.
But it
isn't that easy.
I write programs for 37 years know. So you can really believe me from this experience.
If somebody would post a part of the code that you need you would compile and upload it
and it might work but then you would come back after 15 minutes to ask the next question
Now how do i....
short answer with a piece of code
then you have the next question how do i ...
short answer with a piece of code
... ... ... .... .... .... ...
and this process would go on for 8 to 12 weeks! You understand 12*7 = 84 days = 3 months.
and still after all this time if you want a tiny change in your program you would still only know tooo less
to do the change yourself.
The alternative is to take 5 to 10 days each at 5 hours a day to learn programming yourself
and having the project finished in just 3 weeks.
So it is up to you to decide....
best regards Stefan
