CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Need help for using pwm with pic 18f4431

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
lychek
Guest







Need help for using pwm with pic 18f4431
PostPosted: Fri Nov 04, 2005 5:11 am     Reply with quote

I have PCH version 3.204 compiler, May i used this compiler version with setup power pwm or not?
I don't have a latest vesion of compiler, so i don't have a sample code to use pwm. If any one have a sample code to use pwm with pic18f4431, please provide me 1 copy.

Thank you.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Fri Nov 04, 2005 12:55 pm     Reply with quote

Quote:
I have PCH version 3.204 compiler, May i used this compiler version with setup power pwm or not?

If your version of the compiler doesn't support the setup_power_pwm()
and associated functions, then you'll have to do it by writing directly to
the pwm registers. There is some code available in these threads:
http://www.ccsinfo.com/forum/viewtopic.php?t=21375
http://www.ccsinfo.com/forum/viewtopic.php?t=21455
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group