18f4431 8PWM problem

Status
Not open for further replies.

Ehab Abdalla

Newbie level 6
Joined
Sep 14, 2012
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,388
I'm using PIC18F4431 and MikroC but I don't know how to operate the 8 PWM found in PIC
so I need help
 

you cannot simpky do that
and let me tell why .. because MIcroC PWM library is for standard PIC and (18f4331 or 18f4431 )is a special type (motor control pIC)

so the extra PWM module found in this PIC needs a special library , you can read the registers in the data sheet adn make your own functions , although it needs some time.

OR you can use the standard library of PWM that is on the CCP pins for example pins 16-17 .

hope that helps

regards
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…