[SOLVED] Configure PIC18F2550 Internal Clock

Status
Not open for further replies.

denujith

Member level 5
Joined
Oct 5, 2010
Messages
85
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,288
Activity points
1,886
Hi,

Can someone of you please let me know how to configure internal clock of PIC18F2550 to 4MHz?

I am asking this since I am still not that confident with understanding datasheet and setting register bits. :sad:

/Lakmal
 

Thank you for your reply. I read those thread and document. But still have the same problem. Cannot understand what they discuss since I am not that capable of understanding such technical information since I just started with embedded systems and uControllers. I googled too. But could not find any helpful [for me] information.
 

It worked!

#pragma config FOSC = INTOSC_EC
IRCF2 = 1; IRCF1 = 1; IRCF0 = 0;

Thank you all for your help (Y)
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…