Quote:
|
Originally Posted by stephenthe1
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'Old_Port_B' in file 'C:\1008\build\interrupts.o'.
Errors : 1
what's wrong here?
|
Search your project for references to that symbol. Here's the clue in the
interrupts.c file:
Code:
Old_Port_B = PORTB; // initialize the Old_Port_B variable (in user_routines_fast.c)
Immediately after all the
#includes in
user_routines.fast.c, you should have this:
Code:
unsigned char Old_Port_B = 0xFF;// state of port b the last time
// this function was called
It's there in the downloaded
frc_interrupts example. You probably copied what you thought was important from it into your own files, and missed this one.