PWM Control with led using PIC18F87K22

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

r_teixeir
Posts: 96
Joined: Fri Jul 15, 2016 10:51 am
Has thanked: 24 times
Been thanked: 5 times
Contact:

Re: PWM Control with led using PIC18F87K22

Post 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

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM Control with led using PIC18F87K22

Post 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
Martin

r_teixeir
Posts: 96
Joined: Fri Jul 15, 2016 10:51 am
Has thanked: 24 times
Been thanked: 5 times
Contact:

Re: PWM Control with led using PIC18F87K22

Post 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

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM Control with led using PIC18F87K22

Post by medelec35 »

That's great!,
Glad its all working for you.
Thanks for keeping us updated.

Martin
Martin

Post Reply