I had write the program for the dc servo motor. The program such as below.As a result the servo motor's shaft was rotate continuously. I want to ask if i want to stop the motor when the motor's shaft has move 90 angle degree. How can i control it by 8051?
@huiyen... u hv giving same delay to both ON n OFF times that means it hs 50% duty cycle... that delay is for ON time ... write seperat delay of 19ms sec for OFF time...
this will work with u!