Page 1 of 1

pwm 6722

Posted: Fri Jul 09, 2010 9:15 am
by saschech@gmx.de
Hello Benj

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

Regards Wolfgang

Re: pwm 6722

Posted: Fri Jul 09, 2010 11:07 am
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.

Re: pwm 6722

Posted: Fri Jul 09, 2010 11:51 am
by saschech@gmx.de
Hello Benj

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

Regards Wolfgang