I want to control servo motor by generating PWM using timers in AT mega128 (using C language) .
I want to know since L293D has 2 input pins for one motor , on which pin should I send PWM input to move the shaft in the desired direction ?
As to rotate ,suppose, rightward I will send a PWM of 50Hz frequency with a duty cycle of 10%(let) on one pin then what input should I send to the other pin of the motor to move the shaft rightward ?
Thanks