|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Trouble building code
ADC_CH0 not defined (error msg on build)
in ifi_frc.h add the line #include <adc.h> after #include <p18cxxx.h> Has anyone else had this problem with missing code? |
|
#2
|
|||
|
|||
|
Re: Trouble building code
well it seems that in either the ADC.h header file ADC_CH0 (which I believe is analog to digital convertor channel 1) isn't defined...which is strange. if you comment out the offending refrences to ADC_CH0 do you recieve a second error about ADC_CH1? can you post your direct error message up here?
|
|
#3
|
|||
|
|||
|
Re: Trouble building code
Do you happen to be using rc_ana_in01 some where in the code you wrote? We got a very similar problem when one of our programers wrote
Code:
Get_ADC_Result(rc_ana_in01); |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble using Kevin Watson's Serial Code with Vex user API | StargateFan | Programming | 3 | 13-01-2007 15:42 |
| Autonomous Code trouble | The yellowdart | Programming | 16 | 21-01-2006 10:36 |
| trouble with beacon tracking code | [53] opticruzer | Programming | 9 | 27-01-2004 12:19 |
| Some code in C that we may need if we are in trouble | Andrew Rudolph | Chit-Chat | 16 | 07-10-2003 21:34 |
| Some code in C that we may need if we are in trouble | Andrew Rudolph | Programming | 0 | 04-10-2003 10:44 |