View Single Post
  #3   Spotlight this post!  
Unread 09-03-2007, 17:34
dcbrown dcbrown is offline
Registered User
AKA: Bud
no team
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Hollis,NH
Posts: 236
dcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud ofdcbrown has much to be proud of
Re: Where did ifi_picdefs.h get to?

Add the following to your code instead of ifi_picdefs.h. This is the standard file included in 2006/2007 ifi_default.h. This file is supplied by the mcc18 compiler.

Code:
#include <p18cxxx.h>
It will include the correct file depending on the chip selected in MPLAB configuration. For 2006/2007 controllers it will include p18f8722.h out of the mcc18/h/ directory. This file contains all definitions you are looking for that were in ifi_picdefs.

Code:
/*******************************************************************************
* FILE NAME: ifi_default.h
*
* DESCRIPTION: 
*  This file contains important data definitions.              
*
*  DO NOT EDIT THIS FILE!
*******************************************************************************/

#ifndef __ifi_default_h_
#define __ifi_default_h_

#include <p18cxxx.h>