View Single Post
  #4   Spotlight this post!  
Unread 28-01-2005, 12:55
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: Undefined varibles in IFI_Utilities.c

Quote:
Originally Posted by Bremma
Here's the error I am getting...

C:roboticsifi_utilities.c:234:Error [1105] symbol 'ADC_VREFPLUS_VDD' has not been defined
C:roboticsifi_utilities.c:234:Error [1105] symbol 'ADC_VREFMINUS_VSS' has not been defined

I went and looked at the code, and I see it used, but not defined. Does anyone know how to define this, or at least make it so I can compile this with out any errors? I am on MPLAP c18 V. 2.40 already if you think that is the problem.
These symbols are defined in adc.h which is included in ifi_utilities.c. By default, it is located in C:mcc18h. If you installed your compiler elsewhere, look for it there.

The question now is why you got these errors without getting another one saying that adc.h cannot be found.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me