I want to use a PIC16F676 with internal clock.
This is what I wrote:
@ DEVICE PIC16F676,INTRC_OSC_NOCLKOUT
@ DEVICE PIC16F676,BOD_OFF
@ DEVICE PIC16F676,MCLR_OFF
@ DEVICE PIC16F676,CPD_OFF
@ DEVICE PIC16F676,PROTECT_ON
DEFINE OSC 4
TRISA = %00010000
TRISC = %00000000
ADCON0 = %00010001
CMCON = 7
The compiler say's:
PM Assembler 4.07, Copyright (c) 1995, 2004 microEngineering Labs, Inc.
Error D:\CDLITEN\PBP246\16F676.INC 15 : [225] Undefined Symbol 'intrc_osc'
*** 1 Error ***
PicBasic Pro Compiler 2.46, (c) 1998, 2005 microEngineering Labs, Inc.
All Rights Reserved.
When I look into the inc file of the 16f676 it's there.
Is this a RTFM at my site or ????
Regards.
Mat
Bookmarks