Did you define them? And are they configured to your hardware?PANEL_ANSEL_ANS_BIT = 1;
BATTERY_ANSEL_ANS_BIT = 1;
Are these two lines of code that you gave me that are causing error in the compilation.
by Jake Hertz
by Jeff Child
by Duane Benson