I have connected an FSR (Force Sensitive Resistor) to as per image(edited name for avoiding mismatch). When I measure the voltage b/w two pins of fsr, voltage changing as per pressure applied. But analogRead always returns 1023. But my another Mega works good with same code and configurations. Can someone guide me to correct it. Thanks in advance.
void setup() {
Serial.begin(19200);
}
void loop() {
int num1 = analogRead(A15);
Serial.println(num1);
delay(1500);
}