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: https://github.com/roboteach-es/mBlock3-extensions/tree/master/RT_StepperDriver
Also, if you show here your code, maybe we can have a look at it and provide specific clarifications.