how can I automate a stepper so that it performs a sequence of movements (angles)
(deleted)
jonyy:
how can I automate a stepper so that it performs a sequence of movements (angles)
You need to tell us what project you are trying to create.
Many people use the GRBL program and GCode to control the movements of stepper motors.