Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

PIC Basic Pro Compiler Error

Status
Not open for further replies.

theone_in_themoon

Junior Member level 3
Joined
Oct 20, 2003
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Lahore Pakistan
Activity points
323
Hi All
Im using PIC Basic PRO compiler. Ive used it before for PIC 16F877A and worked fine. But lately its giving an error that

"Unable to include 16f877a.bas.***Click here to add an include path***"

Same goes for PIC 18F452

Ive tried installing it again from the CD but it doesnt work. Ive tried searching the directories but there is no such file. The strange thing is that it DID work before.... and ive compiled and used programs with it.

Can anyone suggest wat i might be doing wrong???
Need Help ... Please Reply
 

hi
please share the program here and we will try to solve it


sarco
 

The problem is not with the file but with the compiler (im using micro code studio for PIC Basic PRO)

But im pasting the code here .... its actually in a file with .BAS extension

include "modedefs.bas"
ali var byte
TRISC = 0
WHILE 1
serin PORTE.1,N1200,ali
PORTC = ali
WEND
END
 

well i think your compiler does not have the header file for 877a if you are using version 2.3 and below the compiler do not support
you can upgrade for the newer version.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top