related to microcontroller
i am working with 8051 microcontroller.........the relay is connected with 5vdc motor and i am connecting relay at the port p0.0.i am using the following code to rotate the motor.......
setb p0.0
call delay(30 microseconds)
clr p0.0
the problem is the motor is rotating continuously........it doesnt come to stop,though i have given the clear instruction.......can anyone help me out.......please.............