View Single Post
  #3   Spotlight this post!  
Unread 04-02-2008, 19:49
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 323
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Interrupt Gear Tooth Sensors

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?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -