problen PIC16f877a header file,

Thread Starter

papantec

Joined Apr 24, 2013
1
when i compile a program it shows the following error,error: Unknown #directive "INCLUDE" now how can i solve it,thank you in advance.
 

t06afre

Joined May 11, 2009
5,934
Remember then posting it is very important to give relevant information. For those not sitting next to you on your workbench ;) As start post your code and tell us what kind of compiler you are using
 

ErnieM

Joined Apr 24, 2011
8,201
when i compile a program it shows the following error,error: Unknown #directive "INCLUDE" now how can i solve it,thank you in advance.
This is an improper header inclusion:
Rich (BB code):
#INCLUDE "header.h"
This is how to do it correctly:
Rich (BB code):
#include "header.h"
In this case, case matters. Your INCLUDE is in upper case letters and should be lower case.
 
Top