Set First PWM as 'PWM Channel 1'

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Post Reply
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:

Set First PWM as 'PWM Channel 1'

Post by medelec35 »

When First PWM component is added then can it default to 'PWM Channel 1' and not 'PWM Channel 2'
Then perhaps the next added PWM component can be automatically set to 'PWM Channel 2' but still allow manual channel selection if necessary.
Martin

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: Set First PWM as 'PWM Channel 1'

Post by Benj »

Hi Martin,

This should be easy enough to do. Would you want the second PWM to always default to channel 2 or should it first check to see if the first PWM uses channel 1? This may be a little more involved.

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: Set First PWM as 'PWM Channel 1'

Post by medelec35 »

Benj wrote:ould you want the second PWM to always default to channel 2 or should it first check to see if the first PWM uses channel 1? This may be a little more involved.
Hi Ben,
perhaps if Ch1 not in use you could still have ch2 default to Channel 2.
Reason is logically, if to deliberately use CCP2 and not ccp1, then I believe there should be a reference to the number 2 rather than Reference to channel 1.

If you think about it as a user and not developer, would would your preference be?
Martin

Post Reply