Just for interest I have again messed up a stepper motor project and wonder if a word of advice could be added to the Makeovers Motor Driver, 2 Channel - Application Guide.
On page 9 the instructions recommend which connections should be made between between GP0,1,2,3 to PWMA, DIRA, etc. All good.
However on a few occasions I have, in writing code assumed that, for example, pwmPinA=0 (which includes the word Pin) in the code refers to the Pico PIN numbers , where it actually refers to the Pico GPO number .
I hope I’m not being pedantic but I have wasted many hours looking for other reasons why the stepper motor wasn’t working properly!
Cheers
Toni