Code:
#picaxe 28x2
main:
let b1 = 0 ; set b1 value
low B.2;
low B.5;
FOR b1 = 0 TO 1000
high B.0 ; switch on output B.1
pause 500 ; wait 0.5 seconds
low B.0 ; switch on output B.1
pause 500 ; wait 0.5 seconds
NEXT b1
pause 1000; wait 1 seconds
high B.5;
FOR b1 = 0 TO 1000
high B.0 ; switch on output B.1
pause 500 ; wait 0.5 seconds
low B.0 ; switch on output B.1
pause 500 ; wait 0.5 seconds
NEXT b1
pause 1000; wait 1 seconds
goto main
I need some help for programming the stepper motor "https://docs.rs-online.com/9cd2/0900766b813f0a12.pdf" with PICAXE-28X2 SHIELD BASE "https://picaxe.com/docs/axe401.pdf", the driver that I'm using is STEPPER 4 CLICK "https://www.digikey.at/htmldatasheets/production/2455715/0/0/1/mikroe-2748.html"
The motor does not work.
You can see the program above.
Thank you in advance