ok, added following to the start...
Code:
@ device pic16F877A, HS_OSC
@ device WDT_OFF
@ device PWRT_OFF
@ device BOD_OFF
@ device LVP_OFF
@ device WRT_OFF
@ device CPD_OFF
@ device DEBUG_OFF
and I get the following error during compile...
Code:
D:\Bedini\PIC code\bedini 1>pbpw -p16f877 test1.bas -v
PicBasic Pro Compiler 2.44, (c) 1998, 2003 microEngineering Labs, Inc.
All Rights Reserved.
Pass 1:
Pass 2:
Code Gen:
Macro Pass:
PM Assembler 4.06, Copyright (c) 1995, 2003 microEngineering Labs, Inc.
Error D:\blah\blah\blah\TEST1.ASM 94 : [225] Undefined Symbol 'pic16F877A'
*** 1 Error ***
my INC dir only has an M16F87XA.inc file does that make a diference?
Bookmarks