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

Help with clock oscillator

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



Joined: 03 Oct 2012
Posts: 242
Location: chennai

View user's profile Send private message

Help with clock oscillator
PostPosted: Mon Apr 28, 2014 2:11 am     Reply with quote

I have connected clock oscillator output pin to micro-controller pinRA5.
Refer [/img]https://imageshack.com/i/n82o7xp
normally i use #use delay(clock=20000000) to define the 20Mhz crystal.

How to declare in this case?

Please help.
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Mon Apr 28, 2014 4:23 am     Reply with quote

What PIC?.

Clock remains the same (assuming it is a 20MHz osicllator). Usually 'EC', instead of 'HS' in the fuses.
hemnath



Joined: 03 Oct 2012
Posts: 242
Location: chennai

View user's profile Send private message

PostPosted: Mon Apr 28, 2014 4:31 am     Reply with quote

PIC 16F690. Compiler version: 4.114
Ttelmah



Joined: 11 Mar 2010
Posts: 19520

View user's profile Send private message

PostPosted: Mon Apr 28, 2014 4:36 am     Reply with quote

EC_IO then for the fuse. Tells it to give you A4, as an I/O pin.
hemnath



Joined: 03 Oct 2012
Posts: 242
Location: chennai

View user's profile Send private message

PostPosted: Mon Apr 28, 2014 4:47 am     Reply with quote

thank you Ttelmah
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