In the circuit below, I want to measure the voltage going to the ADC (output from the voltage divider consisting of a fixed resistor and photoresistor) using an MSP-EXP432; however, the MSP-EXP432 "Analog In" pin is lowering the output voltage (i.e. the voltage going into the ADC from the voltage divider drops when the "Analog In" pin is connected).

I set the analog pin as an input in the code shown below in Energia.

Is there any way to fix this?

const int bitsOfADC = 14; // 14-bit ADC Launchpad
//int maxVal = 2^N -1;
// 2^14-1
int maxVal = 16383;
float FSV = 5.0; // Supply to 0804ADC
int D7 = A13;
int D6 = A14;
boolean D7_State = LOW;
boolean D6_State = LOW;
void setup()
{
delay(1000);
Serial.begin(9600);
pinMode(D7, INPUT);
pinMode(D6, INPUT);