Go to Post I can't wait to get to St. Louis!! Oh wait.. I'm already here!! - Team 288 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading interupt pin as Standard IO intellec7 Programming 8 16-04-2006 22:25
problems using gyro/adc code with camera default code tanstaafl Programming 7 22-01-2006 23:09
Cam interupt question Collmandoman Programming 8 24-03-2005 00:44
How "bad" are motors with "bad" stickers? cooknl Kit & Additional Hardware 20 12-01-2005 10:33
interupt inconsistancy Anthony Kesich Programming 1 21-02-2004 15:46


All times are GMT -5. The time now is 00:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi