How to run bipolar stepper motor


I have a bipolar stepper motor (nema17), a CNC shield and microstepper driver A4988. I am trying to run this motor using arduino uno and mblock. I can’t get the code right. Can anyone please help me with the code?


Did you try the StepperDriver 1.2.1 extension? I created it specifically for that purpose.

You can download it directly from the Extensions menu within mBlock-3 or go to the source (with examples) in the original repository:

Also, if you show here your code, maybe we can have a look at it and provide specific clarifications.



HI Shazia

You can click the link below and find the resource that you need on github.