View Single Post
  #4   Spotlight this post!  
Unread 04-02-2008, 20:33
NinJA999's Avatar
NinJA999 NinJA999 is offline
Chipmunk NinJA
AKA: Nick Aldwin
FRC #0811 (Team 811)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Windham, NH
Posts: 45
NinJA999 will become famous soon enough
Send a message via AIM to NinJA999
Re: Interrupt Gear Tooth Sensors

Quote:
Originally Posted by wt200999 View Post
Are you using the default code and MPLab 7.2? There is an error that one of the variables is defined wrong in C:\MCC18\include\p18f8722.h (or whatever your directory is) I think it is one of the priority bits, look in that file for both and make sure its correct. Kevin has the corrected one in his encoder code if you take a look at that. Or you may be getting something from annother line?
It was that problem. With Kevin's updated p18f8722.h, it is not giving us any errors. Thanks a lot!
__________________
Team 811 (Nashua, NH) - Mentor

Previously Team Lead & Programming Lead