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 CCS Technical Support

Clock Question

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



Joined: 18 Oct 2003
Posts: 145

View user's profile Send private message

Clock Question
PostPosted: Thu Feb 15, 2007 10:11 am     Reply with quote

Hi,

I have a PIC18Fxxxx in 25Mhz and I need to generate a 3 to 6 Mhz clock signal for control another device, is possible make this with PWM?, can anybody send a sample program?

Thank you very much!!

Best Regards,
jma_1



Joined: 08 Feb 2005
Posts: 147
Location: Wisconsin

View user's profile Send private message

PostPosted: Thu Feb 15, 2007 10:31 am     Reply with quote

Greetings,

Look at EX_PWM.C in the examples folder of the CCS installation directory. You will have to modify the #fuse, #include, #use, and the timer2 setup for your specific micro.

Cheers,
JMA
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