Open hamoonsh opened 7 years ago
Hello,sorry for late reply.But what do u want to write in this code?
iPhone'umdan gönderildi
13 Haz 2017 tarihinde 08:22 ÖS saatinde, hamoonsh notifications@github.com şunları yazdı:
Hi I know that this motor can do clock wise steps using the below commands,but how i can do the counter clock wise steps? MOV AL, 001b ; initialize. OUT 7, AL
MOV AL, 011b ; half step 1. OUT 7, AL
MOV AL, 010b ; half step 2. OUT 7, AL
MOV AL, 110b ; half step 3. OUT 7, AL
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi the problem was opening a window using the step_motor and then closing it. Thanks for replying my issue but i found the answer. In case someone else needed the code:
#start=stepper_motor.exe#
MOV AL, 06h
OUT 7, AL
MOV AL, 04h
OUT 7, AL
MOV AL, 03h
OUT 7, AL
MOV AL, 02h
OUT 7, AL
MOV AL, 06h
OUT 7, AL
MOV AL, 04h
OUT 7, AL
MOV AL, 03h
OUT 7, AL
MOV AL, 02h
OUT 7, AL
;-------------------------------
MOV AL, 03h
OUT 7, AL
MOV AL, 01h
OUT 7, AL
MOV AL, 06h
OUT 7, AL
MOV AL, 02h
OUT 7, AL
MOV AL, 03h
OUT 7, AL
MOV AL, 01h
OUT 7, AL
MOV AL, 06h
OUT 7, AL
MOV AL, 02h
OUT 7, AL
Hi I know that this motor can do clock wise steps using the below commands,but how i can do the counter clock wise steps? MOV AL, 001b ; initialize. OUT 7, AL
MOV AL, 011b ; half step 1. OUT 7, AL
MOV AL, 010b ; half step 2. OUT 7, AL
MOV AL, 110b ; half step 3. OUT 7, AL