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

external to internal oscillator switching at running

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



Joined: 06 Mar 2007
Posts: 92
Location: Pune,India

View user's profile Send private message AIM Address Yahoo Messenger

external to internal oscillator switching at running
PostPosted: Thu Oct 25, 2007 7:54 am     Reply with quote

Dear Sir,
here i am using 16f913, MPLAB 7.5 Ver. & CCS PCM C Compiler, Version 3.249, 34534.
Here i want to use external oscillator as well as internal oscillator
i.e.If my input frequency is <297 i have to use external crystal(32.768 khz)
if greater i have switch to internal oscillator.Also in fuses i declared
#fuses intrc_io &
#use delay(clock=8000000)
so if i switched to external what changes i have to make.
Actually what i am doing is,
if my freq<297, i have to increse the count every 1 sec i.e.1 minute == 1 minute
and display on the static LCD. for this i am using timer 0 interrupt.
And if it is 298 to 594 hz. use internal clock & display 1 minute == 2 minute
In this i am using CCP1 interrupt to measure time between two pulses.
any help would be appriciated...
_________________
Thank You,
With Best Regards,
Deepak.
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