problen PIC16f877a header file,

Discussion in 'Embedded Systems and Microcontrollers' started by papantec, Apr 24, 2013.

  1. papantec

    Thread Starter New Member

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

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    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
     
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,392
    1,606
    This is an improper header inclusion:
    Code ( (Unknown Language)):
    1. #INCLUDE "header.h"
    This is how to do it correctly:
    Code ( (Unknown Language)):
    1. #include "header.h"
    In this case, case matters. Your INCLUDE is in upper case letters and should be lower case.
     
Loading...