3 pwm signals

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
dirkvg@skynet.be
Flowcode V4 User
Posts: 12
Joined: Sat Nov 21, 2009 4:16 pm
Contact:

3 pwm signals

Post by dirkvg@skynet.be »

When I read the datasheets of a 16F767 µC I suppose (but I am not sure) that I can generate 3 independant PWM signals with this µC. In flowcode v4.5.18.74 it is not possible to add a pwm component with 3 PWM signals.
So my question is: Is it possible to generate 3 pwm signals with one µC and is it possible to do so with flowcode?

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: 3 pwm signals

Post by medelec35 »

For Flowcode V4: if more than 2 CCP channels then take a look here:
http://www.matrixmultimedia.com/mmforum ... 52&#p18513
Since V4 only supports 2 CCP PWM channels, then anymore will have to be created using C code (as in the above example).

For Flowcode V4 or V5: If your including ECCP then take a look here:
http://www.matrixmultimedia.com/mmforum ... 73&#p41658

For Flowcode V5 you will be able to use as many PWM channels as target device supports so long as they are all CCP.
So yes you can use 3 PWM with 16F767 since there are 3 CCP channels.

You can download the free version of Flowcode V5 from here:
http://www.matrixmultimedia.com/lc_index.php?p=25

Martin
Martin

dirkvg@skynet.be
Flowcode V4 User
Posts: 12
Joined: Sat Nov 21, 2009 4:16 pm
Contact:

Re: 3 pwm signals

Post by dirkvg@skynet.be »

Thank you for your advise

Post Reply