Using the Internal Oscillator- PIC18F2220

Status
Not open for further replies.

cne

New Member
I am having troubles with setting the internal oscillator for the 18f2220 to it's maximum value of 8Mhz. When I run the program, it runs very slowly. I am using flowcode which has a config screen. It has no option for setting the speed.

Is there a certian config word I can use to set this value?


Thanks in advance...
Cameron
 

Attachments

  • config screen.jpg
    92.4 KB · Views: 301
You must insert that part on top of your program.Its not available in configuration word.
 
Last edited:
It also depends on what languish your using to but is not a configuration word

You should added it before you set up your ports

OSCCON = 0x72
TRISA = 0xFF ///don't use this it just here for clarity
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…