Ok a sigh of relief!
Thank you
Ok, now I believe that I can make my motor controllers work on this PIC, but I'll only be able to make them work on PWM in one direction... Because each motor controller circuit will have only one PWM and one regular digital signal.
To make my motor turn CW direction, I'll set the PWM duty cycle (to like 50% or what-so-ever) and LOW the other signal. Motor goes CW direction with 50% duty cycle.
- What should I do for CCW direction?
I have two possibilities in my mind:
1. Turn the PWM duty cycle to zero and set the other pin to HIGH. (Expectation: Motor goes CCW direction in full speed.)
2. Or keep the PWM cycle to 50% and set the other pin to HIGH. (Expectation: Motor goes CCW direction with 50% duty cycle.)
- Is this even possible?
Please suggest me if there is any other way to accomplish what I need.
Thank you