deepakomanna
Joined: 06 Mar 2007 Posts: 92 Location: Pune,India
|
Help needed "for CPU internal OSC & for TIMER1 Exte |
Posted: Wed Dec 26, 2007 11:39 pm |
|
|
Dear Sir,
here i am using 16f913, MPLAB 7.5 Ver. & CCS PCM C Compiler, Version 3.249, 34534.
how could i define if i want to use Internal OSC for internal processing (CPU).External OSC (32.768 khz) for timer1. Here Timer 1 is used for CCP1 interrupt (CCP_CAPTURE_RE).
Actually in my application i/p to pin 16 is freq. which will vary from 297 Hz to 594 Hz.According to this i have to increment count for 1 sec (i.e. if freq < 297= 1 count 1 sec. & freq >297 count time will increment as frequency rise).
Plz feel free to ask any query. _________________ Thank You,
With Best Regards,
Deepak. |
|