View Single Post
  #2   Spotlight this post!  
Unread 02-02-2008, 20:26
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: Unable to resolve ADC_CH0

Quote:
Originally Posted by p_a_3 View Post
Please excuse my confusion here.

The base code we used was located in ifi_frc_sensor_30

The reference to ADC_CH0 was in ifi_frc.h of that project. I suspected that these defines were values 0, 1, etc. When I looked at an old mcc18\h\adc.h I found

#define ADC_CH0 0b10000111 // Channel 0

Should I use these values or simple integers?

Thanks,
Paul Alexander
I'll have a look at it this evening...

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