![]() |
Unable to resolve ADC_CH0
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 |
Re: Unable to resolve ADC_CH0
Quote:
If you're using my code, you just pass in a number corresponding to the channel (e.g., Get_ADC_Result(1)). -Kevin |
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 |
Re: Unable to resolve ADC_CH0
Quote:
-Kevin |
Re: Unable to resolve ADC_CH0
Quote:
-Kevin |
| All times are GMT -5. The time now is 13:21. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi