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.
Set First PWM as 'PWM Channel 1'
Moderator: Benj
Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Only feature requests will be considered here. General questions should not be posted in this forum.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
- 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'
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.
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.
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
-
- 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'
Hi Ben,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.
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