Quote:
Originally Posted by p_a_3
I have been unable to locate this. In ifi_frc.h is
#define rc_ana_in01 ADC_CH0
Can someone please tell me where it is defined?
Thanks
|
If you're using the legacy IFI code in ifi_code.c, you should use the values found in mcc18\h\adc.h (e.g., ADC_CH0, ADC_CH1, etc).
If you're using my code, you just pass in a number corresponding to the channel (e.g., Get_ADC_Result(1)).
-Kevin