Go to Post GP makes us all on one and the same team. They understand that in order for any of us to succeed, we need to help out where we can. It is why you will see so many other teams helping a team with a failing robot, buggy software, team strategy, etc. - Al Skierkiewicz [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2008, 08:19
RedOctober45 RedOctober45 is offline
Mentor - Embedded Software Engineer
FRC #0291
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: Pittsburgh
Posts: 16
RedOctober45 will become famous soon enoughRedOctober45 will become famous soon enough
Send a message via AIM to RedOctober45
latest FRC code - undefinded variables

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!
  #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
Closed Thread


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
Open-source FRC code JBotAlan Programming 35 02-01-2008 03:54
FRC Championships in the latest ROBOT magazine issue skimoose Chit-Chat 12 07-08-2006 22:28
Mapping VEX I/O to FRC code Doug Leppard Programming 3 14-05-2006 06:45
Error w/ FRC code JamesBrown Programming 2 08-01-2005 16:17
FRC default code hedgehogger Programming 2 21-01-2004 18:41


All times are GMT -5. The time now is 23:20.

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