Professional Documents
Culture Documents
Report 08
Report 08
EXPERIMENT NO.: 8
Experiment No: 08
Experiment Name: Interfacing motor with 8051 microcontroller in Edsim51 simulator.
Problem 1:
Solution:
CODE:
;CLOCK WISE
MOTOR:
SETB P3.0
CPL P3.1
NOP
SJMP MOTOR
Output:
Page |3
Page |4
Problem 2:
Solution:
CODE:
;ANTICLOCK WISE
MOTOR:
SETB P3.1
CPL P3.0
NOP
SJMP MOTOR
Output:
Page |5