roboyoyo
Newbie level 6
I design a system with micro controller PIC 16F88
The micro controller need to control the velocity of the motor because of this I use PWM output and Hall Effect sensor that transmit pulses
The system is use close loop control
My problem is that I don't succeed to use the micro controller for the two goals together that are to use the counter and to receive PWM signal
I want to receive PWM output signal and use in the same time CCP register in order to use the counter of timer 1 to count the input signal
The micro controller need to control the velocity of the motor because of this I use PWM output and Hall Effect sensor that transmit pulses
The system is use close loop control
My problem is that I don't succeed to use the micro controller for the two goals together that are to use the counter and to receive PWM signal
I want to receive PWM output signal and use in the same time CCP register in order to use the counter of timer 1 to count the input signal