undeclared error

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
howard123
Posts: 75
Joined: Thu May 24, 2012 1:15 pm
Location: Cape Town
Has thanked: 30 times
Been thanked: 28 times
Contact:

undeclared error

Post by howard123 »

Hi
I have a PIC 24FV16KA304. I just have a C block in main containing “osccon=0b0001000110100000; // set internal clock to 16 meg” with no other code and am getting an error - 'osccon' undeclared(first use of this function)

This did work in FC6 as I remember.

Any ideas
thanks

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: undeclared error

Post by LeighM »

for V7 ...

Code: Select all

OSCCON=0b0001000110100000;

Post Reply