View Single Post
  #1   Spotlight this post!  
Unread 06-03-2007, 18:41
Ethan Reesor Ethan Reesor is offline
Registered User
FRC #0418
 
Join Date: Mar 2007
Location: Austin, TX, USA
Posts: 3
Ethan Reesor is an unknown quantity at this point
Bad Interupt Code

When I compile my interupt code with the 2007 library It gives me this error:

Code:
H:\Code\Code\user_routines.c:173:Error [1205] unknown member 'INT3IP' in '__tag_223'
H:\Code\Code\user_routines.c:173:Error [1131] type mismatch in assignment
Line 173 is

Code:
user_routines.c 173: rc_dig_int02_ip = LOW_PRIORITY;
LOW_PRIORITY is defined as 0 to set the interupt's priority to low
rc_dig_int02_ip is defined as INTCON2bits.INT3IP based on Daniel Katanski's paper "Interrupts for Dummies" (http://www.chiefdelphi.com/media/papers/1483).

Everything works with the interrupt on the first port, and everything everything but setting the proirity works with the second port interrupt.

All of the interrupt code worked with the 2005 library.

I am using MPLAB IDE v7.50