yes sir,i done my self .
the problem is when i kept a potentiometer at a fixed value the adc is converting and showing values varying very fastly.instead of showing one value on lcd.
is any thing wrong in the code.