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

18F4580 using RA7 as Input

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



Joined: 18 Apr 2006
Posts: 66

View user's profile Send private message Yahoo Messenger

18F4580 using RA7 as Input
PostPosted: Mon Jun 21, 2010 2:16 pm     Reply with quote

Does anyone know how to configure the OSC1/RA7 pin as an input in an 18F4580?
foodwatch



Joined: 18 Apr 2006
Posts: 66

View user's profile Send private message Yahoo Messenger

Found it
PostPosted: Mon Jun 21, 2010 2:24 pm     Reply with quote

I found the answer under another topic on the forum. Thanks
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Mon Jun 21, 2010 2:25 pm     Reply with quote

You need to have INTRC_IO selected as your clock fuse, with one of the supported clock rates for this.
It then just operates as normal.
There may well be problems with this on older compilers, so if it is not working, tell us your compiler version, and post a minimum program.

Best Wishes
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