|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 Last edited by Kevin Watson : 02-02-2008 at 16:46. |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
Re: Unable to resolve ADC_CH0
Quote:
-Kevin |
|
#5
|
||||
|
||||
|
Re: Unable to resolve ADC_CH0
Quote:
-Kevin |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unable to see the sensors or pneumatics manual | Chaos204 | General Forum | 5 | 06-01-2008 13:11 |
| Help! unable to locate 'p18cxxx.h' | ducttapehaxor | Programming | 1 | 24-01-2006 16:13 |
| Error: Unable to locate 'stdio.h' | phrontist | Programming | 4 | 09-02-2005 19:59 |
| Unable to transfer Document in Streamline | squide | 3D Animation and Competition | 12 | 16-02-2004 23:40 |