View Single Post
  #1   Spotlight this post!  
Unread 02-02-2008, 18:06
p_a_3 p_a_3 is offline
Registered User
FRC #1648
 
Join Date: Jan 2008
Location: Atlanta
Posts: 3
p_a_3 is an unknown quantity at this point
Re: Unable to resolve ADC_CH0

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