jsbhalla88
Member level 1
Hello guys
I am using PIC18F45K22, coding using MikroC Pro for PIC, and trying to use PWM library functions.
if I use PWM1 functions, I am able to get PWM working on pin RC2...
but I am not able to get RC1 PWM working. I have tried PWM1/2/3/4/5 all functions....
What could be the problem??
ALSO,
I am able to enter a variable duty cycle, but not variable frequency in these PWM functions.
How to do this?? it gives an error that it should be a constant...is it possible or not.?
I am using PIC18F45K22, coding using MikroC Pro for PIC, and trying to use PWM library functions.
if I use PWM1 functions, I am able to get PWM working on pin RC2...
but I am not able to get RC1 PWM working. I have tried PWM1/2/3/4/5 all functions....
What could be the problem??
ALSO,
I am able to enter a variable duty cycle, but not variable frequency in these PWM functions.
How to do this?? it gives an error that it should be a constant...is it possible or not.?