The ADC reading problem has resolved.
But I found the result from ADC is not as accurate as I want.
So can anyone help me or suggest me how to I can modify the code to get correct reading from ADC. also I want to read higher voltage value from +10v to -10v so how I can read it . is any additional circuit require for this.
Thanks in advance .