![]() ![]() set parameters and then transmit lename.bin wait till transmission is completeġ Interfacing Stepper Motor to 8086 using 8255 Experiment 1 6th August, 2009ġ.1 Using ULN2003 1) A program to rotate a stepper motor continuously in the anticlockwise direction, for three dierent speeds CODE SEGMENT ASSUME CS:CODE, DS:CODE ORG 1000H CR EQU 0C6H PB EQU 0C2H MOV AL, 80H OUT CR, AL MOV AL, 66H BACK: OUT PB, AL ROL AL, 1H CALL DELAY JMP BACK DELAY PROC NEAR MOV CX, 0FFFFH AGN: LOOP AGN RET DELAY ENDP HLT CODE ENDS END ![]()
0 Comments
Leave a Reply. |