![]() |
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? |
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?
|
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); |
| All times are GMT -5. The time now is 18:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi