pwm 6722

Moderator: Benj

Post Reply
saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

pwm 6722

Post by saschech@gmx.de »

Hello Benj

The pwm not work on hardware if i set to pin re7
Please help

Regards Wolfgang
Attachments
pwm 6722.gif
(41.68 KiB) Downloaded 875 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: pwm 6722

Post by Benj »

Hi Wolfgang,

To get the alternative PWM pin working you need to change the settings in 2 places.

1) The configuration settings - This you have already done.

2) The PWM properties - This needs doing for the Port and Pin settings to be updated in the C code.

Hopefully this should allow the alternative PWM channel to work.

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: pwm 6722

Post by saschech@gmx.de »

Hello Benj

Change from ccp2 to re7 in The PWM properties work ok.
Thank you

Regards Wolfgang

Post Reply