Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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
    config screen.jpg
    92.4 KB · Views: 300
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.

New Articles From Microcontroller Tips

Back
Top