Page 2 of 2

Re: PWM Control with led using PIC18F87K22

Posted: Sat Sep 16, 2017 6:00 pm
by r_teixeir
Hi Medelec, Great News, it worked! What happened? What did you do? It looks like nothing was changed on the code...
Well Thank you

Iam going toi try right right with the potentiometer to see if it also work, because i was having the same problem with it as well.

Rod

Re: PWM Control with led using PIC18F87K22

Posted: Sat Sep 16, 2017 6:11 pm
by medelec35
That is great news!

I did nothing, the only difference is the ccp2 is set for RC1 instead of RE7.
At least all working now which is the main thing.

looks like the main issue was the PWM cal file.

Martin

Re: PWM Control with led using PIC18F87K22

Posted: Sat Sep 16, 2017 6:35 pm
by r_teixeir
Hi Medelec, The potentiometer also ran perfectly! Nice, I was breaking my head...lol that was nice.

Thanks a lot I appreciate the help.

Rod

Re: PWM Control with led using PIC18F87K22

Posted: Sat Sep 16, 2017 6:55 pm
by medelec35
That's great!,
Glad its all working for you.
Thanks for keeping us updated.

Martin