Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   latest FRC code - undefinded variables (http://www.chiefdelphi.com/forums/showthread.php?t=61163)

RedOctober45 09-01-2008 08:19

latest FRC code - undefinded variables
 
I am using the latest of the FRC code posted. However, when I try to compile I am getting undefined variables for "ADC_VREFPLUS_VDD" and "ADC_VREFMINUS_VSS" which are part of the 'adc.h' header. I added the appropraite include search path into MPLAB but it still gives this error.

Any ideas? Thanks!

Kevin Watson 09-01-2008 09:50

Re: latest FRC code - undefinded variables
 
Quote:

Originally Posted by RedOctober45 (Post 673211)
I am using the latest of the FRC code posted. However, when I try to compile I am getting undefined variables for "ADC_VREFPLUS_VDD" and "ADC_VREFMINUS_VSS" which are part of the 'adc.h' header. I added the appropraite include search path into MPLAB but it still gives this error.

Any ideas? Thanks!

This is why I suggested using 3.10 instead of 3.15 <grin>. It looks like Microchip is in the process of updating support for hardware found in newer devices and managed to mess up the adc.h header file in the process. Mark McLeod identified the problem and a fix in this post. You can also just comment out the offending function (I hope to provide a replacement soon).

-Kevin


All times are GMT -5. The time now is 23:20.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi