jsbhalla88
Member level 1
- Joined
- Mar 3, 2015
- Messages
- 41
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 314
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.?