View previous topic :: View next topic |
Author |
Message |
cfernandez
Joined: 18 Oct 2003 Posts: 145
|
Clock Question |
Posted: Thu Feb 15, 2007 10:11 am |
|
|
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
|
|
Posted: Thu Feb 15, 2007 10:31 am |
|
|
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 |
|
|
|