View Single Post
  #1   Spotlight this post!  
Unread 14-03-2007, 19:45
Guru's Avatar
Guru Guru is offline
Executive Programmer
FRC #0912 (Iron Lyons)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Etobicoke (North York)
Posts: 12
Guru is an unknown quantity at this point
Exclamation GTS Encoder Compilation Error

1) We take Kevin's encoder project from his website.
2) We remove the phase B logic.
3) We try to compile.
4) We get an error saying:
Code:
\frc_encoder\frc_encoder\encoder.c:130:Error [1205] unknown member 'INT3IP' in '__tag_223' \frc_encoder\frc_encoder\encoder.c:130:Error [1131] type mismatch in assignment
5) We find the error is occurring here:
Code:
// interrupt 2 is low priority INTCON2bits.INT3IP = 0;
------------------------
If we remove the segment of code, the interrupt is always on high priority and messes other things up. We'd be very gracious for any solutions.
__________________
\/\__Under Construction__/\/