Hi;
I'm using the pic18f4331 which has 2 ccp pins and 8 pwm pins. I've seen plenty of code for setup_ccpX(ccp_pwm) and I understand the math behind it, but how dow I set up the other PWM pins that are not CCP ? Could someone provide a code snippet? thanks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Sun May 07, 2006 3:35 pm
Look at the EX_POWER_PWM.C file for an example. It's in this folder:
c:\Program Files\PICC\Examples
You might be able to get CCS support to send it to you, if you
email them and ask for it. Give them your compiler registration
number so they know you own the compiler. I don't know for
sure if this method will work.
jim Guest
any would do
Posted: Sun May 07, 2006 6:10 pm
I don't need the code right from the example
any would do..
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum