30F6014A

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

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:

30F6014A

Post by saschech@gmx.de »

Hello

The chip have 8PWM-chanel OC1 to OC8. V4 for DSPIC support 2.
If I change inside edit pwm component "pwm1 : CCP1" to "pwm1 : CCP8" dos not work in simulation and on the chip.
Is there a way to fix this in v4 for ds-pic,because for equality I must change the pins?

Regards Wolfgang
Attachments
PWM.gif
(73.41 KiB) Downloaded 384 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: 30F6014A

Post by Benj »

Hello,

If you need to use the alternate PWM pins in v4 then you will have to use code customisation on the PWM component to switch to the other PWM channel. Simply changing the label in the component properties will not change anything regarding the underlying C code.

v5 should support all PWM channels natively, just working on updating AVR at the moment.

Post Reply