View Single Post
  #2   Spotlight this post!  
Unread 09-01-2008, 09:50
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: latest FRC code - undefinded variables

Quote:
Originally Posted by RedOctober45 View Post
I am using the latest of the FRC code posted. However, when I try to compile I am getting undefined variables for "ADC_VREFPLUS_VDD" and "ADC_VREFMINUS_VSS" which are part of the 'adc.h' header. I added the appropraite include search path into MPLAB but it still gives this error.

Any ideas? Thanks!
This is why I suggested using 3.10 instead of 3.15 <grin>. It looks like Microchip is in the process of updating support for hardware found in newer devices and managed to mess up the adc.h header file in the process. Mark McLeod identified the problem and a fix in this post. You can also just comment out the offending function (I hope to provide a replacement soon).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org