We have already tried these methods, but we are not clear about the values at the output. When we manually measure and calculate the voltage at the terminals of the potentiometer, we obtain a value between 0 and 16,383. However, the output, represented by the data variable, is giving us random values between 2,000 and 6,000, which change randomly even before we adjust the input in rerun mode.