![]() |
Where did ifi_picdefs.h get to?
I'm compiling Timer code, but when I brought the code into my 2007 controller project (I DID change the linkers scripts and libraries) it gives me the error that T2CONbits, etc are not defined. After a little digging, I found that in the 2004 controller project, ifi_picdefs.h is where these structs are defined. What happened to this file for 2007? And is it possible to use the same file just pasted into the 2007 controller code?
Thanks |
Re: Where did ifi_picdefs.h get to?
The processor changed between 2005 and 2006. Definitions for the older 18F8520 PIC might not work perfectly with the newer 18F8722.
|
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>Code:
/******************************************************************************* |
| All times are GMT -5. The time now is 17:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi