PIC16F88, Internal Clock at 1Mhz

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
armagon29
Posts: 56
Joined: Thu May 07, 2009 4:40 pm
Been thanked: 2 times
Contact:

PIC16F88, Internal Clock at 1Mhz

Post by armagon29 »

Could you explain me, how select this option for PIC16F88, “Internal Clock at 1Mhz”( FC5 Test Version )

Thanks

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PIC16F88, Internal Clock at 1Mhz

Post by medelec35 »

Hi armagon29,

You will need to add a c code block as the start of Main with:

Code: Select all

osccon=0x40;
Then use Build, Project options to set clock Speed to 1000000 and Clock Configuration needs to have INTRC as port or INTRC as Clock out.

I have not confirmed the above works as not got time this morning.

Martin
Martin

Post Reply