Hello Benj
The pwm not work on hardware if i set to pin re7
Please help
Regards Wolfgang
pwm 6722
Moderator: Benj
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 714
- Joined: Wed Jan 31, 2007 12:41 pm
- Has thanked: 1 time
- Been thanked: 26 times
Re: pwm 6722
Hello Benj
Change from ccp2 to re7 in The PWM properties work ok.
Thank you
Regards Wolfgang
Change from ccp2 to re7 in The PWM properties work ok.
Thank you
Regards Wolfgang